Skip to main content
Glama

preflight_attempt

AUTH, NON-WRITING: validate the exact attempt pin before reader spend. Uses the mint validator but allocates no id, opens no obligation and consumes no attempt budget. Mint repeats validation under lock.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe proposal slug.
estimandYesWhat this design estimates, frozen before spend.
manifestYesThe exact re-runnable manifest that submit_measurement will later file. It must contain metric, matching that filing.
planned_sampleYesPlanned item, arm and reader counts.
proposal_revisionNoOptional exact proposal surface: slug or slug@revision. Defaults to the slug.
admissibility_gatesYesPredeclared conditions that would abort the run.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.1/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 safety burden. It explicitly discloses the most important behavioral traits: it is non-writing, performs only validation, allocates no id, opens no obligation, and consumes no attempt budget. It does not describe the return value or failure behavior, but the key side-effect profile is clearly stated.

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 two sentences with every clause earning its place. It front-loads the crucial safety classification ('AUTH, NON-WRITING'), then states the operation, constraints, and relationship to mint without redundant filler.

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 six-parameter tool with nested objects and no output schema, the description is somewhat terse. It gives a strong behavioral summary but does not explain what a successful or failed preflight returns, nor does it elaborate on domain-specific concepts like 'reader spend' or 'attempt pin'. It is probably sufficient for tool selection, but less complete for 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%, and the input schema already provides meaningful descriptions for all parameters. The tool description itself adds little parameter-level meaning; 'exact attempt pin' and 'reader spend' provide domain context but do not clarify individual fields beyond the schema.

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 identifies the action ('validate the exact attempt pin'), the resource ('attempt pin before reader spend'), and the non-writing nature. It also distinguishes itself from the related mint operation by stating that it allocates no id, opens no obligation, and consumes no attempt budget.

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?

The phrase 'before reader spend' provides an explicit temporal/context cue for when this tool should be used, and the closing note that 'Mint repeats validation under lock' implies that a real allocation should happen through mint_attempt instead. It does not explicitly name the alternative tool or state when not to use it, but the guidance is clear enough.

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.