Skip to main content
Glama

Continue an agy conversation

agy_continue

Send a follow-up prompt into an existing agy conversation to keep its prior context and continue a codebase exploration, then verify any cited paths and symbols before acting on them.

Instructions

Send a follow-up prompt into an existing agy conversation (from a prior agy_ask/agy_continue result's conversation_id), keeping its prior context. agy is a cheap, fast model and explores well, but it fabricates file paths, line numbers, function names, and quoted code with some regularity. Treat everything in response as an unverified lead, not fact: before repeating a specific claim (a path, a symbol, a line number, an exact quote) to the user or acting on it, confirm it yourself with Read/Grep/Glob.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "conversation_id": "<conversation_id>",
      "prompt": "<prompt>"
    },
    "name": "agy_continue"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoWorking directory / project root for agy to run in. Defaults to this server's own working directory.
modeNoagy execution mode. Only meaningful with permission=read_write.
modelNoOverride agy's model, e.g. 'gemini-3.8-flash-low' for the cheapest/fastest option. Use agy_list_models to see choices.
effortNoReasoning effort.
promptYesThe follow-up message to send.
add_dirNoExtra directories to add to agy's workspace (repeatable --add-dir).
log_fileNoIf set, also stream this task's activity to this file as plain text lines. The file is created immediately (so a wait-loop never spins on a nonexistent file), and once the task reaches a terminal state — success, a real error, or even a crash before it properly started — the raw response/error text is appended between "###AGY_RESPONSE_START###"/"###AGY_RESPONSE_END###" lines (for extracting just that text without JSON-parsing), then the full JSON result, then a closing marker: "###AGY_TASK_DONE###" on success or "###AGY_TASK_ERROR###" on any failure — always exactly one of the two, guaranteed. Meant to be paired with background:true and your own Bash tool's run_in_background, instead of polling agy_status in a loop: after starting this call, run `until grep -qE '###AGY_TASK_DONE###|###AGY_TASK_ERROR###' <file>; do sleep 5; done` with run_in_background:true — you'll get an automatic completion notification (success or failure) the same way any other background shell command notifies you when it exits.
backgroundNoRun this as a background task instead of blocking the call: returns a task_id immediately (status "running") instead of waiting for agy to finish. Poll it with agy_status (optionally long-polling via its wait_seconds) to check progress or retrieve the final result once done. Use this for anything that seems likely to take a while — exploring a large codebase, a multi-step task — so a slow run doesn't cost you the whole call to a timeout.
permissionNoTool-access level for this call. none: agy answers from context only — no tools at all (even reading files is denied). read_only: agy may read files, glob, and search the codebase, plus run a curated set of read-only shell commands (ls, cat, head, tail, wc, pwd, file, stat, du, and git log/diff/show/status/blame) with any arguments but no chaining/piping/substitution/redirection. It cannot write files, edit files, or run anything else. Safe default for exploration. read_write: agy gets full tool access (read, write, edit, run shell commands) via --dangerously-skip-permissions — no guardrails. Only use when you specifically want agy to make changes.read_only
conversation_idYesconversation_id returned by a previous agy_ask or agy_continue call.
timeout_secondsNoMax seconds to wait for agy to finish. For anything that might run longer than a couple minutes, prefer background:true instead of raising this — a blocking call that hits this timeout kills the underlying agy process and the work is lost, whereas a background task keeps running and you just check back later.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full behavioral burden, and it spends that budget on the highest-value disclosure: agy fabricates paths, symbols, line numbers, and quotes, and the result must be verified with Read/Grep/Glob before being repeated or acted on. It does not cover the mutating implications of read_write or the timeout-kills-process tradeoff, though those live in the schema descriptions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both front-loaded: the capability first, then the reliability caveat with a concrete verification instruction. No filler, no repetition of schema content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter, no-output-schema tool, the description covers the two things an agent cannot get from structured fields: the resumption semantics and the trustworthiness of `response`. The remaining behavioral details (backgrounding, timeouts, permission levels) are fully documented in the schema, so nothing critical is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter is already documented in detail. The description only restates that conversation_id comes from a prior agy_ask/agy_continue result, which the schema also says, so it adds no meaning beyond the structured fields — baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (send a follow-up prompt into an existing agy conversation) and pins the entry condition to a conversation_id from a prior agy_ask/agy_continue result. This makes it distinguishable from agy_ask without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Chooses its scenario clearly: continuing an existing conversation so prior context is retained, and it names where the conversation_id comes from. The counterpart case (start fresh with agy_ask) is only implied by the word 'follow-up' rather than stated as an explicit alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.