Skip to main content
Glama

Evaluate a proposed action against a caller-supplied policy, fail-closed (PAID $0.10)

v1_policy_check

Checks whether a proposed action complies with a caller-supplied policy and fails closed if evaluation cannot confirm compliance.

Instructions

Evaluate a proposed action against a caller-supplied policy, fail-closed (PAID $0.10)

Remote route: POST /v1/policy/check (0.10 USD x402/base/usdc on eip155:8453).

Input Schema

NameRequiredDescriptionDefault
as_ofNo
actionNo
policyNo
caller_stateNo

Output Schema

NameRequiredDescriptionDefault
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

The description adds value beyond the annotations by disclosing the fail-closed evaluation semantic and the paid x402 pricing/route, which the agent cannot infer from readOnlyHint=false or openWorldHint=true. However, it says nothing about what a fail-closed outcome looks like, what happens on payment failure, or how caller_state influences the decision.

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?

Short and front-loaded, with the purpose in the first clause. Slight waste in that the title text is repeated verbatim, and the route/price sentence is terse but does carry actionable information for a paid endpoint.

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

Completeness2/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 explained, but the tool takes four entirely undocumented inputs and gives no selection guidance among ~100 siblings. For a paid, non-idempotent, open-world evaluation tool, the description leaves too much for the agent to guess.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and all four parameters (as_of, action, policy, caller_state) are bare titles. The description compensates for none of this — it never explains the expected shape of 'action', 'policy', or 'caller_state', which is a significant gap for a policy-evaluation tool.

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?

States a specific verb+resource combination: 'Evaluate a proposed action against a caller-supplied policy', plus a meaningful behavioral qualifier ('fail-closed'). It is clear what the tool does, but nothing distinguishes it from the many sibling verdict/policy/compliance tools (v1_compliance_check, v1_mandate_compliance, v1_verdict_tool, etc.).

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?

No guidance on when to prefer this over v1_compliance_check, v1_mandate_compliance, or the v1_verdict_* family. The only added context is transport/pricing detail, which does not help the agent decide when to invoke it rather than a sibling.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools