Skip to main content
Glama

AIBITIOUS 404 LAB - 32 Free Agent Experiments

openapi_contract_preflight

Static OpenAPI 3.x lint: missing operation IDs, responses and malformed operations. Offline.

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": {
      "spec": "<spec>"
    },
    "name": "openapi_contract_preflight"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/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. 'Static' and 'Offline' usefully signal that no network calls or mutations occur, which is real added context, but it never states whether the input spec is modified, what the result contains, or how the three check classes are reported.

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?

A single terse fragment with the scope ('OpenAPI 3.x lint') front-loaded and the checked conditions enumerated after it. Nothing is redundant, though the extreme brevity tips slightly toward under-specification rather than economy.

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 tool has no output schema, no annotations, and a nested free-form object parameter, so the description is the only source of behavioral detail. It covers what is checked and that execution is offline, but says nothing about the shape of findings, severity, or $ref handling, leaving real gaps for a preflight tool.

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?

There is one required parameter, 'spec', typed as a free-form object with additionalProperties and zero schema description coverage. The description never clarifies whether the full OpenAPI document is passed inline, and its 'Offline' framing leaves open whether external $refs are resolved -- a meaningful semantic gap the schema does not fill.

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 names a specific verb and resource -- a static OpenAPI 3.x lint -- and enumerates exactly what it flags: missing operation IDs, missing responses, and malformed operations. That is concrete enough to distinguish it from a generic schema validator like json_schema_guard, but it never explicitly contrasts itself with any sibling.

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 when-to-use or when-not-to-use guidance, and no alternative is named. The single word 'Offline' is the only situational cue, implying it is safe for pre-commit or air-gapped runs, but the agent must infer that rather than being told.

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.