Skip to main content
Glama

Check a Phở analysis

get_analysis_run
Read-onlyIdempotent

Check a Phở analysis started with run_analysis. Waits up to wait_seconds for it to move, then returns its phase: running, plan_review (with the proposed plan and the ids approve_analysis_plan needs), done (with the report as Markdown) or failed. Progress notes are short Vietnamese messages from Phở; key off phase.

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": {
      "run_id": "<run_id>"
    },
    "name": "get_analysis_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYes
wait_secondsNoWait up to this many seconds (0–45) for the run to reach the plan or the report.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds real behavioral context on top: it blocks up to wait_seconds, returns one of four named phases, includes the proposed plan and the ids approve_analysis_plan needs, returns the report as Markdown on success, and warns that progress notes are Vietnamese so the agent should key off phase rather than message text.

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 dense sentences with no filler: purpose and origin first, then the wait behavior and return phases, then the actionable warning about Vietnamese progress notes. Every clause carries operational value for the caller.

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

Completeness5/5

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

There is no output schema, so the description carries the return contract itself, and it does: phase names, the plan payload, the Markdown report, and failure state. Combined with annotations covering safety, an agent has everything needed to call and interpret this tool correctly.

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 coverage is only 50%, and the description compensates by explaining wait_seconds as a long-poll timeout tied to reaching the plan or report. run_id is left undocumented in prose, though its UUID pattern in the schema makes the format self-evident, so the gap is minor rather than costly.

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 ("Check a Phở analysis") and ties it to the originating sibling ("started with run_analysis"), so an agent can distinguish it from the starter tool without opening a schema. It also enumerates the exact phase values it can return, which sharpens the purpose further.

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?

Clear about when this applies: after run_analysis has been invoked, and it routes the agent onward to approve_analysis_plan when phase is plan_review. It stops short of explicit polling guidance (e.g. call again while running) or exclusions, so it is strong context rather than a full when/when-not statement.

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.