Skip to main content
Glama

Fare construction savings strategy — Atom

Fare construction savings strategy

fare_construction_savings_strategy
Read-onlyIdempotent

Submits a fare-construction record (trip definition, fare drivers, search strategy, total-cost surface, fare construction, price integrity) and returns a deterministic FARE_CONSTRUCTION_SAVINGS_STRATEGY_READY / FARE_CONSTRUCTION_SAVINGS_STRATEGY_NOT_READY / INSUFFICIENT_EVIDENCE verdict across six sections, including computed total-cost, constructed-total and savings arithmetic, with per-check evidence. Audits the declared record; it searches no fares and books nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fare_construction_savings_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
tripNoTrip evidence.
driversNoDrivers evidence.
strategyNoStrategy evidence.
integrityNoIntegrity evidence.
total_costNoTotal cost evidence.
trip_labelNoTrip the fare construction covers.
constructionNoConstruction evidence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered; the description adds genuinely new behavior by disclosing the three verdict tokens, the six-section output structure, recomputed total-cost/constructed-total/savings arithmetic, and per-check evidence. It does not say what causes a NOT_READY versus INSUFFICIENT_EVIDENCE outcome, which is the main missing behavioral detail.

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 front-loaded sentences: the first covers input, output and computation, the second delivers the scoping boundary. Despite being dense with technical terms, every clause contributes distinct information and nothing is redundant.

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?

For a complex tool taking seven nested objects with no output schema, the description does well on return shape by naming the verdicts. However, it is silent on the fact that no parameters are required (can an incomplete manifest be submitted and yield INSUFFICIENT_EVIDENCE?), and it leans on an external artifact ('see the atom's SERVICE.md') rather than stating the field expectations, leaving a meaningful gap for correct invocation.

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 description coverage is 100%, so the seven parameters are already documented, and the description's enumeration of the six evidence areas largely restates the schema's own groupings. It adds no field-level meaning beyond what the schema gives (e.g., how the six sections relate to the seven properties, or whether partial submissions are meaningful given zero required parameters). Baseline 3 is appropriate.

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 names a specific verb and resource ('Submits a fare-construction record'), enumerates the six evidence sections, and states exactly what it returns (a deterministic READY/NOT_READY/INSUFFICIENT_EVIDENCE verdict with computed arithmetic). The closing clause 'it searches no fares and books nothing' further pins the tool's role, so an agent cannot confuse it with a fare-search or booking tool.

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?

It gives one explicit exclusion ('searches no fares and books nothing') and frames the tool as an audit of a declared record, which tells the agent when not to reach for it. It stops short of naming an alternative tool or stating the precondition that a complete record must already exist before calling, so it falls 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.