Skip to main content
Glama

respond

Answer permission prompts or questions from delegated Kimi or Codex agents to unblock and continue cross-provider coding tasks.

Instructions

答复 Kimi 或 Codex 的权限或提问。

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": {
      "task_id": "<task_id>",
      "request_id": "<request_id>"
    },
    "name": "respond"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNo
contentNo
task_idYes
option_idNo
request_idYes
review_sha256No
source_snapshot_sha256No

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

C2.1/5.0
Behavior2/5

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

Annotations supply only destructiveHint=false, so the description carries nearly the full burden and delivers almost nothing: it does not say what happens on accept vs. decline, whether the reply is delivered to another agent, or whether responding is reversible. The only behavioral clue is the mention of Kimi/Codex as the counterparty, which is genuinely useful context but far short of what a 7-parameter reply tool needs.

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

Conciseness3/5

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

It is a single short sentence with no filler or repetition, which is structurally clean. But the brevity here is under-specification rather than discipline, given the tool's complexity.

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

Completeness1/5

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

With 7 parameters, a nested object, two opaque hash fields, no output schema, and only a destructiveHint annotation, this definition is far too thin for the agent to invoke it correctly. Nothing explains how to construct a valid response payload or what the call returns.

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

Parameters1/5

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

Schema description coverage is 0%, so the description must compensate and instead names no parameter at all. The critical 'action' enum (accept/decline/cancel), the distinction between task_id and request_id, the meaning of option_id and content, and the two sha256 fields are all left completely opaque.

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

Purpose3/5

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

The description does identify a verb (respond) and a resource class (permission requests or questions from Kimi/Codex), which is more than a restatement of the name. However, it does not clarify how this differs from the sibling 'cancel' tool, even though this tool itself exposes an 'action: cancel' value — a real ambiguity for an agent choosing between them.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives or when not to call it. The agent must infer entirely from the name that this is the reply path for pending requests surfaced by other tools such as 'wait' or 'status'.

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