Smior’s engine runs as an MCP server over stdio. Your agent starts it through the entry Smior wrote in the agent’s settings. It offers 18 tools. Every tool answers with plain text.
Which tool to use
| You want to… | Use |
|---|---|
| Start a coding task | smior_orchestrate |
| Get context for a question, lightly | smior_context |
| Find where a symbol is defined | smior_symbols |
| See what imports a file, or what it imports | smior_trace |
| See what a change to a file could break | smior_impact |
| Cross from frontend to backend | smior_endpoints |
| Summarise a file without opening it | smior_gist |
| Run several lookups at once | smior_batch |
| Shrink a long log | smior_compress |
| Check that a change is complete | smior_verify |
| Save or find a decision | smior_remember, smior_memory_search |
| See this session’s notes | smior_session_context |
| Tell Smior the conversation was cleared | smior_new_session |
| Check whether a capsule is out of date | smior_stale_check |
| Refresh the index | smior_reindex |
| Ask about savings or token patterns | smior_savings, smior_coach |
Smior’s instruction block, which Smior: Tell agents to prefer Smior writes, tells agents to call smior_orchestrate once at the start of a task and smior_verify before declaring a multi-file task complete.
What Smior records about tool calls
Smior uses your agent’s requests in memory and does not store them. For most tools it records only the tool’s name and a count, for example smior_symbols: 3 results. It never keeps the search, symbol pattern, endpoint filter, task or path you asked about. The exception is the text you save on purpose with smior_remember or smior_orchestrate’s observation. See Privacy and data.
Context tools
smior_orchestrate
The main one-call workflow. Use it once at the start of a task instead of chaining several lookups.
| Parameter | Type | Default | Limits |
|---|---|---|---|
task |
string | required | The coding task or question. |
preset |
auto | explore | debug | modify | refactor |
auto |
|
budget |
integer | 6000 | 400 to 50,000 tokens, for the whole reply. |
includeTests |
boolean | false |
Adds candidate test files. |
observation |
string | none | A note to save to memory, like smior_remember. |
Returns one Markdown reply, never over budget:
# Smior orchestrated task · <preset>- a capsule, built with about 72% of the budget;
## Impact preview: for up to five of the capsule’s main files, the files that depend on them;## Relevant local memory: up to six saved notes that match the task;## Candidate tests, whenincludeTestsis true: up to 30 test files, most central first;- a reminder to call
smior_verifybefore declaring a multi-file task complete.
If the repository is not active on your plan, it returns an error such as “This repository is not active on the current Smior plan.”
smior_context
A token-budgeted capsule for a task or question.
| Parameter | Type | Default | Limits |
|---|---|---|---|
query |
string | required | The task or question. |
budget |
integer | 4000 | 200 to 50,000 tokens. |
Returns a capsule: the relevant spans of the most important files, skeletons of their neighbours, and stubs beyond. Files already sent this session are listed, not resent. It never exceeds the budget. See How Smior works for the layout and footer.
smior_new_session
Tells Smior the agent’s conversation was cleared. The next capsule then resends what is needed instead of assuming the agent still has it.
No parameters. Returns New session <id>. The next capsule will be self-contained.
smior_stale_check
Checks whether files in an earlier capsule have changed since.
| Parameter | Type | Default |
|---|---|---|
capsuleId |
string | required. The id from the capsule’s footer. |
Returns one of:
Fresh — no included file has changed.CHANGED (re-request these):and a list of files, andREMOVED:with any removed files.Unknown capsule id — rebuild with smior_context.
Lookup tools
smior_symbols
Fast search for functions, classes and types by name.
| Parameter | Type | Default |
|---|---|---|
pattern |
string | required. Matched anywhere in the name, ignoring case. |
Returns up to 60 lines, one per symbol: kind, name, then file:line. With no match: No symbols matched. Try smior_context with a broader query.
smior_trace
What imports a file, or what a file imports.
| Parameter | Type | Default |
|---|---|---|
file |
string | required. Repository-relative path. |
direction |
dependents | dependencies |
dependents |
Returns one file path per line, or No <direction> recorded for <file>.
smior_impact
The files that could break if a file changes: its dependents, followed up to four steps through the graph.
| Parameter | Type | Default |
|---|---|---|
file |
string | required. Repository-relative path. |
Returns <n> dependent file(s): and the list, or No dependents found — likely a leaf file.
smior_endpoints
API routes in the repository, and the client files that call them.
| Parameter | Type | Default |
|---|---|---|
filter |
string | none. Part of a route path. |
Returns one line per route: SERVES or CALLS, the HTTP method, the route and the file. Then Linked calls: lists each client file and the server file it reaches. With nothing found: No endpoints detected.
smior_gist
A one-line summary of a file without opening it.
| Parameter | Type | Default |
|---|---|---|
file |
string | required. Repository-relative path. |
Returns the summary and the file’s line count. If no summary exists yet, it returns the first lines of the file’s skeleton. If the file is not indexed: <file> is not in the index.
smior_batch
Runs 1 to 20 independent lookups in one bounded reply.
| Parameter | Type | Default | Limits |
|---|---|---|---|
operations |
array | required | 1 to 20 items. |
maxTokens |
integer | 1400 | 100 to 4,000. |
Each operation has a type: symbols, trace, impact, gist or endpoints. It can also have pattern, file, direction (dependents or dependencies), filter, and limit (1 to 100).
{
"operations": [
{ "type": "symbols", "pattern": "Router" },
{ "type": "impact", "file": "src/router.ts" },
{ "type": "endpoints", "filter": "/api/users" }
],
"maxTokens": 1400
}Returns a header such as [Smior batch: 3 operations · 2100 → 1350 tokens], then the results. If batched lookups are turned off in Advanced savings methods, it returns an error.
Logs
smior_compress
Shrinks a long test, build or lint log to the failures that matter, before it enters the agent’s context.
| Parameter | Type | Default | Limits |
|---|---|---|---|
log |
string | none | The raw output. |
path |
string | none | A log file in the workspace or the temp folder, instead of log. |
maxTokens |
integer | 800 | 100 to 4,000. |
Pass exactly one of log or path. For a long log, write it to a file and pass its path.
Returns a label line describing the method used, then a structured summary with vendor stack frames and progress noise removed. Where Smiormind is set up, it may help with logs Smior can’t sort out by itself. See Log summaries and Smiormind.
Memory
See Memory for how notes are linked and marked stale.
smior_remember
Saves a short decision or observation in workspace-local memory.
| Parameter | Type | Default | Limits |
|---|---|---|---|
text |
string | required | 1 to 4,000 characters. |
file |
string | none | A file to link it to. |
symbol |
string | none | A symbol to link it to. |
Returns Saved local observation <id> linked to <file>#<symbol>. Secrets in the text are redacted before it is saved. A link is kept only if your index holds that file or symbol.
smior_memory_search
Searches notes saved in earlier sessions.
| Parameter | Type | Default | Limits |
|---|---|---|---|
query |
string | required | |
limit |
integer | 30 | 1 to 100. |
Returns matching notes, best first. A note whose linked file has changed is marked stale.
smior_session_context
Returns the notes from the current Smior session.
| Parameter | Type | Default | Limits |
|---|---|---|---|
limit |
integer | 30 | 1 to 100. |
Verification and maintenance
smior_verify
A mechanical completion check for the current change set. It never runs your code or tests. See Verify and impact.
| Parameter | Type | Default |
|---|---|---|
task |
string | "". The task, so its explicit constraints can be listed. |
base |
string | none. A git base revision, to check committed changes. |
Returns a report:
# Smior completion check: NEEDS_REVIEW
3 changed file(s) · 0 blocker(s) · 2 review item(s)
Task: <text: 42 chars>
## Changed files
- src/router.ts
## REVIEW: untouched-dependents
4 indexed dependent file(s) were not changed. Review them before completion.
- src/app.ts
## ACTION: tests
1 impacted test file(s) should be run.
- test/router.test.ts
Smior did not execute project code or tests. Run the listed tests under your normal approval policy.The verdict is READY, NEEDS_REVIEW or BLOCKED. A BLOCKED result is returned as a tool error, so the agent notices it.
smior_reindex
Re-runs incremental indexing. Only changed files are parsed again.
No parameters. Returns Indexed <n> files (<ms>ms), <n> symbols, <n> edges.
smior_savings
How many tokens Smior saved, and by which method.
No parameters. Returns Saved <n> tokens today (<pct>% avg cut). and a list by method.
smior_coach
Insights for this session: patterns in how agents on this computer spend tokens, each with one suggested change. Estimates from local records only.
No parameters. Returns up to three lines, each marked “(estimate)”. If nothing stands out: Nothing stands out in this session. That is not evidence either way. What it can show depends on your plan’s Insights. See Insights.
Tool list changes
Smior’s MCP entry points at a permanent supervisor in ~/.smior/runtime/. When Smior updates, the supervisor can switch to the new engine between requests and tell the agent that the tool list changed, so Claude Code picks up new tools without ending the conversation.
Related
- CLI reference: the same lookups from a terminal.
- Supported agents