Skip to main content
Glama

Approve a run over list rows

approve_investigation_batch
Destructive

Approves the quote's exact maximum. The searches then run as ordinary finds, within that maximum.

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_hash": "<quote_hash>",
      "confirm_max_cents": "<confirm_max_cents>",
      "batch_id": "<batch_id>"
    },
    "name": "approve_investigation_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
batch_idYes
quote_hashYes
confirm_max_centsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/5.0
Behavior3/5

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

The annotations already mark this as non-read-only, destructive, and open-world, so the description does not need to establish basic safety. It adds some context by saying the approved maximum bounds the searches and that they run as ordinary finds, but it does not explain irreversibility, committed spend, permissions, or what destructive effect is possible.

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 description is short and has no filler, but it is cryptic rather than front-loaded and clear. The two sentences are efficient in size yet under-specified for a destructive three-parameter approval operation.

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

Completeness2/5

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

For a destructive, open-world approval tool with three required parameters and no output schema, the description leaves major gaps: it does not explain the batch, the quote linkage, the confirmation amount, or the consequences of approval. It gives only a vague hint that a quoted maximum is approved and searches then execute.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description must carry parameter meaning, but it only vaguely references a 'quote' and an 'exact maximum.' It does not explain batch_id at all, nor does it clarify that confirm_max_cents must match the quoted maximum or what quote_hash represents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says it 'Approves the quote's exact maximum' and that searches then run, but it never clearly identifies the resource as an investigation batch or explains what approval actually authorizes. It also does not distinguish this operation from siblings such as prepare_investigation_batch, get_investigation_batch, or cancel_investigation_batch.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisites (such as needing a quote first), and no alternatives named. The implied context is that a quote exists, but the agent is left to infer the workflow.

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.