Skip to main content
Glama

Retry a Source check that could not run

retry_check
Destructive

Retry an unavailable Source check of a held run (one list_run_findings lists under unavailable: it could not judge every string, because its provider failed or the organisation lost Source checks). It judges again only what it could not, which is new spend: refused with INSUFFICIENT_CREDITS once the balance is at its overdraft limit. A run no other Check holds goes back to processing — poll get_workflow_run. Refused SOURCE_CHECK_NOT_UNAVAILABLE for a Check that is not unavailable. When referring to a project or language in your reply to the user, use its name and locale (e.g. "French (fr-FR)") — ids (UUIDs) are for tool calls only, never show them to the user.

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": {
      "runId": "<runId>",
      "actionId": "<actionId>"
    },
    "name": "retry_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesRun id, from get_workflow_run or list_workflow_runs
actionIdYesThe Check’s id: an `unavailable` entry’s actionId, from list_run_findings

Output Schema

NameRequiredDescriptionDefault
retriedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and openWorldHint=true, but the description supplies the context those hints lack: the retry is new spend, it is refused with INSUFFICIENT_CREDITS at the overdraft limit, and the run only resumes processing if no other Check holds it. That is exactly the cost and side-effect information an agent needs before invoking a destructive tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and preconditions are front-loaded, but the final sentence about naming projects/languages by name and locale rather than UUIDs is generic reply boilerplate that does not help select or invoke this tool. The phrasing "It judges again only what it could not, which is new spend" is also denser than needed.

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 two-parameter mutating tool with an output schema, the description covers cost, failure modes, refusal codes, and the post-call polling path. An agent has everything needed to decide whether to call and what to do afterward; return-value details are rightly left to the output schema.

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% and both parameters are already documented (runId from get_workflow_run, actionId from list_run_findings), so the baseline is 3. The description adds real constraint beyond the schema — the actionId must specifically be an `unavailable` entry's actionId — which clarifies the value the schema alone does not enforce.

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?

The description opens with a specific verb+resource ("Retry an unavailable Source check of a held run") and immediately disambiguates the object by tying it to the `unavailable` entries that `list_run_findings` returns. An agent can distinguish this from siblings like `get_workflow_run` or `list_run_findings` without inspecting schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the precise precondition (the Check must appear under `unavailable` in `list_run_findings`, due to provider failure or lost Source checks) and the negative case (refused with SOURCE_CHECK_NOT_UNAVAILABLE for a Check that is not unavailable). It also names the follow-up tool, `get_workflow_run`, for the case where the run returns to processing.

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.