Skip to main content
Glama

Check Request

check_request
Read-onlyIdempotent

Validate an HTTP API request body against a supplied JSON Schema before sending it. This tool does not execute the request. Use it when an agent needs to determine whether a proposed JSON body satisfies its expected schema. Optional economics adds proceed/abort advice from expected waste versus a $0.002 check.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
schemaYesJSON Schema applied to request.body
requestYes
economicsNoOptional V0.2 cost context. Omit for V0.1 validation-only output.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
validYes
errorsYes
warningsYes
economicsNo
requestHashYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / economics / properties / preflightPriceUsd / description
      Previous value: -"Price of this check. Default 0.001"New value: +"Price of this check. Default 0.002"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the safety bar is met structurally. The description adds genuinely useful context beyond that: it guarantees the URL is never fetched (no side effects at all) and explains that the optional economics input produces proceed/abort advice derived from expected waste versus a $0.002 check. It does not cover auth requirements, latency, or failure modes, so it stops short of a 5.

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?

Three sentences, front-loaded with the core action, then the non-execution caveat, then the optional economics behavior. Every sentence carries information and there is no filler, though the final sentence is dense and could be split or simplified.

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

Completeness4/5

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

An output schema exists, so return values need not be described, and the description covers purpose, the no-execution guarantee, and the optional economics mode. For a read-only validation tool this is nearly complete; the remaining gap is disambiguation from preflight_tool_call, which the description ignores entirely.

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 67% and the parameters are nested, so the schema already documents most fields including url, method, headers, query, and the individual economics properties. The description adds only a high-level gloss on what the economics block is for ('proceed/abort advice from expected waste versus a $0.002 check'), without clarifying defaults such as preflightPriceUsd or priorInvalidProbability. This is a baseline 3 with modest added value.

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: validate an HTTP API request body against a supplied JSON Schema, and explicitly bounds the scope with 'This tool does not execute the request.' It is clear and unambiguous, but it never mentions the sibling tool preflight_tool_call, so an agent cannot tell them apart from the description alone.

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?

'Use it when an agent needs to determine whether a proposed JSON body satisfies its expected schema' gives a clear triggering condition, and 'does not execute the request' implicitly rules out using it as a send/fetch step. However, no alternative tool is named and no when-not condition relative to preflight_tool_call is offered, which matters given the overlap implied by the sibling name.

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.

Resources