Skip to main content
Glama

Retry failed ontology work

retry_ontology_work
Idempotent

Restart failed server work and wake the runner: every failed item of the datasource, or only the item_ids given. Attempts reset. Use it when the failure's cause may have passed (timeout, connection_reset, unavailable).

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": {
      "datasource": "<datasource>"
    },
    "name": "retry_ontology_work"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idsNoOptional failed item UUIDs to retry; omit to retry every failed item of the datasource
datasourceYesDatasource UUID whose failed work to retry

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds value beyond them by disclosing that "attempts reset" (retry counters are cleared) and that the runner is woken — meaningful side effects an agent would not learn from annotations alone. It omits failure behavior if the retry fails again, so not a 5.

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?

Three short, front-loaded sentences: action and scope first, then the reset side effect, then the usage cue. Every sentence carries information, with only mild redundancy between "every failed item of the datasource" and the schema's own wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with no output schema, the description covers what changes, the scoping options, the reset side effect, and when to invoke it — enough to call it correctly. It does not say what the agent should do if the retry fails again or what the call reports back, a minor gap since no output schema exists.

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 100% and the schema already documents that omitting item_ids retries every failed item, so the description largely restates rather than extends parameter meaning. It does clarify the all-vs-subset duality in prose, but adds no format, ordering, or limit detail. Baseline 3 is appropriate.

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 ("Restart failed server work") plus the additional effect ("wake the runner") and the two scoping modes (all failed items of a datasource vs. specific item_ids). An agent can tell this is a mutating repair action distinct from read-style siblings like get_ontology_work. It does not name a sibling it is not, so it falls short of a 5.

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?

"Use it when the failure's cause may have passed (timeout, connection_reset, unavailable)" gives concrete triggering conditions with example failure classes, which is real when-to-use guidance. There is no explicit when-not (e.g., don't retry permanent validation failures) and no named alternative, so it stops short of a 5.

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