Skip to main content
Glama

pre_spend_preflight

Public zero-price, no-membership AION pre-spend check. Returns GO/HOLD/STOP for a bounded need without provider execution, payment, entitlement or route-detail release.

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": {
      "need": "<need>"
    },
    "name": "pre_spend_preflight"
  }
}

Input Schema

NameRequiredDescriptionDefault
needYes
candidate_identifierNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and does a strong job disclosing what the tool will not do: no provider execution, no payment, no entitlement, no route-detail release. It also identifies the tool as public, zero-price, and no-membership. It stops short of covering rate limits, error behavior, or the exact shape of the decision result beyond GO/HOLD/STOP.

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?

The description is short and front-loaded, starting with the tool's public non-executing nature and then naming the output decision labels. It is efficient, though some of the phrasing is dense jargon that could be clearer without adding length.

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?

The description covers the core safety profile and says the result is GO/HOLD/STOP, which is useful because there is no output schema. However, with no annotations, no output schema, and 0% parameter coverage, it leaves important gaps around what the inputs mean and the full result shape. It is adequate but incomplete for an agent trying to invoke the tool correctly.

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?

Schema description coverage is 0%, so the description must compensate for both parameters. It only refers vaguely to a 'bounded need' and says nothing about what the required 'need' string should contain or what 'candidate_identifier' identifies. The description therefore adds very little meaning beyond the bare schema.

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?

The description states a specific verb and resource: a pre-spend check that returns GO/HOLD/STOP for a bounded need. It also distinguishes the operation from execution, payment, entitlement, and route-detail release. However, it does not explicitly differentiate itself from the sibling tool economic_preflight, which appears closely related.

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 phrase 'pre-spend check' implies usage before a spending decision, and the description makes clear this is a non-executing check. It nonetheless gives no explicit when-to-use guidance, no when-not-to-use guidance, and does not name economic_preflight or another alternative as the better choice in any scenario.

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.