Skip to main content
Glama
OpenCode V2 MCP Bridge
by ddarkwing

Reply in an OpenCode session

oc_reply

Sends a follow-up prompt to an existing OpenCode session and waits for the agent's answer, letting you continue a session with additional instructions or questions.

Instructions

Send a follow-up prompt to an existing OpenCode session and wait for the answer.

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": {
      "sessionID": "<sessionID>",
      "prompt": "<prompt>"
    },
    "name": "oc_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYes
sessionIDYesSession id, e.g. ses_...
timeoutSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely useful trait: the call blocks and waits for the answer rather than returning immediately. However, it omits that this mutates session state, what happens when the wait exceeds the timeout, and whether a partial or pending result is returned.

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

Conciseness4/5

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

One short sentence, front-loaded with the action and resource, with no filler. Efficiency is good, though the extreme brevity leaves no room for the behavioral detail this tool needs.

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

Completeness2/5

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

For a three-parameter blocking call with no annotations and no output schema, the definition is thin: it never says what the answer looks like, what happens on timeout, or whether concurrent replies to the same session are safe. The blocking trait is mentioned but not elaborated for a tool whose main risk is long waits.

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

Parameters4/5

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

Schema description coverage is only 33% (only sessionID is annotated), so the description should compensate, and it partially does by framing the prompt as a follow-up message and implying a wait that timeoutSeconds governs. It still never explains the prompt format or what the timeout bound means on expiry, so it does not fully close the gap. This is a 4 rather than a 2 because the single sentence does add meaning beyond the bare schema, but not enough to fully cover the two undocumented parameters.

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

Purpose4/5

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

States a concrete verb and resource: send a follow-up prompt to an existing OpenCode session. The word 'follow-up' and 'existing session' make it clear this continues a session rather than starting one, though it does not explicitly distinguish itself from siblings like oc_task or oc_sessions.

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

Usage Guidelines3/5

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

Usage is only implied: the session must already exist, so an agent can infer it should not be the first call. There is no explicit when-to-use guidance, no statement of when to prefer oc_task or oc_sessions instead, and no note about what happens on an invalid or expired session id.

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