Skip to main content
Glama
Claude Code MCP

Claude Code MCP

by sarthchawla

claude_result

Retrieve stored output from a completed background coding job; omit the job ID to return the most recent job's result.

Instructions

Return the stored result for a completed background job. Omit job_id to use the most recent job.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "claude_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idNoOptional background job ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It hints at a precondition ('completed background job') but never says what happens if the job is still running, unknown, or expired, and gives no indication of what the returned result looks like or how large it may be.

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 short sentences, front-loaded with the purpose and followed by the default-parameter rule. Nothing is redundant or padded.

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?

There is no output schema, so the description is the only source of information about the return value, and it says nothing about the shape or content of the 'stored result'. The single-parameter input side is adequately covered, making the definition workable but incomplete on the output side.

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 100%, so the baseline is 3, but the description adds real meaning beyond the schema's 'Optional background job ID' by explaining the default behavior when job_id is omitted (falls back to the most recent job). That is the one piece of semantics the schema does not convey.

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 specific verb and resource ('Return the stored result for a completed background job'), which clearly separates it from status-checking siblings like claude_status. It stops short of explicitly naming the alternative it displaces, so an agent must infer the routing.

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?

The second sentence gives concrete usage for the job_id argument (omit it to get the most recent job), but there is no explicit when-to-use guidance relative to siblings such as claude_status or claude_run, nor any stated precondition that the job must be finished before calling.

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