Skip to main content
Glama

agent_run_message

Send a follow-up in an existing agent run. To answer pendingQuestion from agent_run_get, send its sourceMessageId with action and data. Do not use this tool to start new work.

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": {
      "runId": "<runId>",
      "content": "<content>"
    },
    "name": "agent_run_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNo
runIdYes
actionNo
contentYes
idempotencyKeyNo
sourceMessageIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the mutating/world-touching profile is covered. The description usefully adds that this is a follow-up into a live run and that answering a pendingQuestion requires a specific field combination, but it never says whether sending a message resumes execution, blocks, costs tokens, or what comes back.

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?

Three short sentences, front-loaded with the core action, then the reply recipe, then the exclusion. No filler or restated title text.

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

Completeness3/5

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

For a 6-parameter write tool with a nested `data` object and no output schema, the description only covers the question-answering path. Nothing tells the agent how content relates to action/data in the general follow-up case or what happens on a completed run, leaving real gaps for correct invocation.

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

Parameters2/5

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

Schema description coverage is 0% across 6 parameters, so the description must carry the load, yet it explains only sourceMessageId, action and data, and only within the pendingQuestion path. The two required parameters runId and content, plus idempotencyKey, get no semantic explanation, and the content-vs-action-vs-data split is left ambiguous.

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?

Specific verb plus resource ('Send a follow-up in an existing agent run') and an explicit negative scope that separates it from agent_run_start: 'Do not use this tool to start new work.' An agent can distinguish this from its siblings without opening any 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?

Gives a concrete use case tied to another tool ('To answer pendingQuestion from agent_run_get') and states an exclusion ('not to start new work'). It stops short of naming agent_run_start as the alternative and says nothing about when idempotencyKey should be supplied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.