Skip to main content
Glama

Check an agent reply

policy_check
Read-onlyIdempotent

Check one reply or up to 50 replies against explicit prices, forbidden phrases and supplied outcome records. Deterministic, no model calls. Caller records are unverified; receipt verification is unavailable here. A pass grants no execution authority.

Input Schema

NameRequiredDescriptionDefault
casesNoUp to 50 replies checked against the same policy. Send reply or cases, not both.
replyNoOne agent reply to check. Send reply or cases, not both.
policyYesYour rules. Set at least one of prices, forbid or actions; validate_policy lints a policy before use. Ready-made policies: https://curbi.io/policies/
recordNoWhat actually happened, supplied by the caller and not verified by Curbi. A claimed action passes only when its operation is DONE here.
verifyNo"required" also needs a Curbi-signed receipt for each claimed action.
versionNoChecker version. Omit for the current one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With readOnlyHint and idempotentHint already supplied, the description still adds meaningful behavior: deterministic with no model calls, caller records are unverified, receipt verification is unavailable, and a pass grants no execution authority. Those caveats materially change how an agent should trust the result; only the return/finding shape is left undisclosed.

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?

Four short sentences, front-loaded with the core action and scale, followed by the most consequential caveats (determinism, unverified records, no authority). No sentence is redundant or padded.

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 tool with six parameters, deep nesting, and no output schema, the description covers inputs and trust boundaries but says nothing about what a check returns or what a 'finding' looks like. The schema hints at 'forbid:<id>' findings, yet the description never explains the result, leaving a real gap for an agent that must interpret the output.

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 six parameters, nested records, and enums are already well documented in the schema itself. The description adds only the 'one or up to 50' batching notion, which mirrors the schema's minItems/maxItems, so the baseline 3 applies.

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 gives a specific verb and resource ('Check one reply or up to 50 replies') plus the three rule families it enforces (explicit prices, forbidden phrases, supplied outcome records). It also implicitly separates itself from receipt-oriented siblings by stating 'receipt verification is unavailable here', though it never names validate_policy or verify_bundle directly.

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?

Usage is implied rather than stated: the tool checks replies against a policy, so an agent can infer it should be called after composing a reply. There is no explicit when-to-use/when-not guidance, and no routing to validate_policy for policy linting or to verify_bundle for receipt checks, even though those siblings exist.

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