Skip to main content
Glama

resume_search

Destructive

Resume or retry medical literature searches. Check a running search, retry a failed one, or retry just the failed sources from a completed run.

Instructions

Check a running search, retry a failed one, or retry just the failed sources of a completed run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYesRun ID from start_search
wait_secondsNo
retry_failed_sourcesNoFor a completed run, search again only the sources listed in source_failures and add their new records

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is covered structurally. The description adds mode semantics but says nothing about the blocking wait behavior, resource cost, or the fact that retrying can append new records to an existing run. It does not contradict the annotations, but it adds only modest context beyond them.

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?

One sentence, front-loaded with the primary action, and each clause corresponds to a genuinely distinct mode of behavior. There is no filler or restatement of the tool name.

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?

An output schema exists, so return values need no explanation, and the three usage modes are covered. What is missing is the blocking/wait semantics and any note that retry operations mutate an existing run's results, which matters for a tool annotated as destructive and non-idempotent.

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 coverage is 67%: run_id and retry_failed_sources are documented in the schema, and the description's third clause reinforces retry_failed_sources. The undocumented wait_seconds parameter — which blocks up to 240 seconds — is never explained in either place, so the description fails to compensate for the coverage gap.

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 names the resource (a search run) and enumerates three distinct operations: checking a running run, retrying a failed run, and retrying failed sources of a completed run. That is specific and actionable. However, it is not fully differentiated from siblings get_run_status and list_runs, which arguably also let an agent 'check' a run, so the boundary is blurry.

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 conditional guidance tied to run state (running vs failed vs completed), which is exactly the context an agent needs to pick this tool. It stops short of naming an alternative such as get_run_status for plain status polling, leaving the routing decision to inference.

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