Skip to main content
Glama

Retry Research

retry_research

Retry a research whose generation did not complete (status failed, or stuck without a result). Free - the credit was already charged when the research was created. Takes about a minute, sometimes two. Returns the same compact summary as create_research (verdict, summary, key findings, ID/URL); fetch the full report with get_research.

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": "retry_research"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe research ID to retry

Output Schema

NameRequiredDescriptionDefault
urlYes
betsYesShort labels for the Top 3 bets
ideaYes
summaryYesOne-paragraph headline takeaway
verdictYesnull when the report had no parseable sub-scores
fullReportYes
researchIdYes
keyFindingsYes
durationSecondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare it is not read-only, not idempotent, and not destructive; the description adds real context beyond that: no additional credit cost, expected latency of roughly one to two minutes, the shape of the returned payload, and the follow-up call needed for the full report. About the only unstated detail is whether repeated retries spawn duplicate jobs, which is a minor gap given the payload and cost disclosure.

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?

The definition is front-loaded with the triggering condition, then cost, then latency and return shape, in decreasing order of decision value. Every clause answers a question an agent would otherwise have to guess at.

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?

For a one-parameter retry tool with an output schema already present, the description supplies all decision-relevant facts: when it applies, that it is free, how long it blocks, and what it returns. Nothing needed to invoke it correctly is missing.

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?

The single id parameter is fully documented in the schema (100% coverage, UUID format and pattern), so the schema carries the burden. The description adds nothing beyond implying the ID must belong to a failed research. Baseline 3 applies.

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?

"Retry a research whose generation did not complete" gives a specific verb plus resource and narrows it with the exact failure conditions (status failed, or stuck without a result). It also separates the tool from create_research by noting no new credit is charged, so an agent can pick between them without opening a 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?

The precondition for calling it is explicit (previous generation failed or hung), which implicitly excludes new or completed research. It also routes the agent onward to get_research for the full report. It stops short of naming a sibling to use instead when the research never existed in the first place, but the invocation condition is clear.

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.

Resources