Skip to main content
Glama

gh_result

Retrieve the result of a job that was still running when its call returned. A timeout is not a failure; fetch the result by job ID instead of resending the job.

Instructions

Fetch the result of a job that was still running when its call returned. A timeout is not a failure: never resend a job that changes the model.

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": {
      "id": "<id>"
    },
    "name": "gh_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior3/5

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

There are no annotations, so the description carries the full load. It usefully discloses that a timeout is not a failure and warns against re-sending a model-mutating job, implying this tool is a safe way to poll. However, it does not disclose whether the call blocks, what it returns while the job is still running, or what happens on an unknown/expired id.

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?

Two tight sentences with no filler, and the core purpose is front-loaded. The second sentence, while valuable, mixes a warning with an ambiguous phrase ('changes the model') that could be phrased more precisely.

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 an asynchronous result-retrieval tool with no output schema, no annotations, and an undocumented parameter, the description should cover what is returned on success versus still-running, and where the id originates. It covers the retry-safety concern well but leaves the retrieval contract underspecified.

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

Parameters3/5

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

Schema description coverage is 0% for the single required 'id' parameter. The description implies the id designates a job, but never says where the id comes from (presumably the return of the originating call) or what format it takes, leaving the agent to infer the source from context.

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?

The description states a specific verb and resource (fetch the result of a running job) and distinguishes itself from the job-starting call by scoping it to jobs 'that [were] still running when its call returned.' It does not name the sibling async tools (e.g. gh_solve, gh_apply) that produce such jobs, so the agent must infer that link from context.

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?

It gives a clear trigger condition (use after a call returned while the job was still running / after a timeout) plus one strong behavioural rule: never resend a model-changing job. It stops short of naming alternatives or stating what to do if this call itself reports the job is still incomplete.

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