Skip to main content
Glama

get_dag_diagnosis

Read-onlyIdempotent

Poll an owned job and its accounting receipt. Does not start work or consume another credit.

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": {
      "job_id": "<job_id>"
    },
    "name": "get_dag_diagnosis"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior: that it is a polling operation and, importantly, that it does not consume another credit — billing behavior an agent cannot get from annotations or schema. Auth scoping is also hinted via "owned job", though it is not spelled out.

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?

Two short sentences, zero filler, with the core action front-loaded and the constraint immediately after. Nothing here could be cut without losing information.

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?

There is no output schema, so the description carries the full burden of explaining returns, and "its accounting receipt" is the only hint at the response shape — no status values, receipt fields, or polling cadence are described. For a polling/diagnosis tool whose whole value is interpreting returned state, that is a real gap despite the clean safety and billing context.

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?

With one parameter at 0% schema description coverage, the description must carry the weight. It adds that the job_id must reference an owned job, which is meaningful access-scoping context, but it gives no format, expected origin of the id, or null/unknown handling.

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?

"Poll an owned job and its accounting receipt" gives a specific verb (poll) and two concrete resources (job, receipt). The negation "does not start work" further separates it from start_dag_diagnosis, but no sibling is named explicitly, so differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

The verb "poll" implies repeated status checks after work has been kicked off, and "does not start work or consume another credit" is a useful exclusion versus start_dag_diagnosis and quote_dag_diagnosis. However, no alternative tool is named and no precondition (e.g., call after start_dag_diagnosis returns a job_id) is stated, leaving usage implied.

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