Skip to main content
Glama

start_dag_diagnosis

DestructiveIdempotent

Authorize a quoted diagnosis and reserve one DAG report. Keep the same quote/key when retrying. Other product balances cannot fund it.

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": {
      "quote_id": "<quote_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "start_dag_diagnosis"
  }
}

Input Schema

NameRequiredDescriptionDefault
quote_idYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

While annotations provide high-level hints (destructive, idempotent), the description adds the necessary business context regarding authorization and reservation state changes. It confirms the mutation nature implied by the destructive hint.

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 description is highly dense and efficient; every sentence adds functional or operational value to the definition without redundancy or filler.

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?

Given the lack of an output schema, this description provides all necessary constraints and behavioral logic (payment rules, retry mechanism) required for an AI agent to make a confident decision to invoke the tool correctly.

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?

Since schema description coverage is 0%, the description is vital. It links the quote_id to financial rules, explaining that other balances cannot fund the transaction, which is important context beyond just parameter type.

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 clearly defines the action (authorizing and reserving) and the resources (a quoted diagnosis and one DAG report). It distinguishes this transactional, commitment-based tool from retrieval tools like get_dag_diagnosis.

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 provides explicit guidance on retry logic ('Keep the same quote/key when retrying'), which is critical for idempotent tools, and establishes payment constraints ('Other product balances cannot fund it').

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