Skip to main content
Glama

policy_check

Which models and platforms does my policy allow? Returns pass, fail or undetermined per model/platform for licence, origin and data handling; undetermined is not a pass. Needs an API key (Authorization: Bearer). Costs 5 credits a call; $0.0053–$0.02 per credit by plan or pack (https://modelspec.dev/pricing/). It doesn't choose a model; use decide among passing rows. Proxies POST https://api.modelspec.dev/v1/policy-check with these arguments and Authorization.

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": {
      "policy": "<policy>"
    },
    "name": "policy_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
modelsNo
offsetNo
policyYes
verdictsNo
platformsNo
require_no_undeterminedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / policy / properties / commercial_use / additionalProperties
      Added value: +false
    • addedInput schema / properties / policy / properties / licence / additionalProperties
      Added value: +false
    • addedInput schema / properties / policy / properties / origin / additionalProperties
      Added value: +false
    • addedInput schema / properties / policy / properties / residency / additionalProperties
      Added value: +false
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses the auth requirement (Authorization: Bearer API key), the cost (5 credits per call with per-credit pricing link), the underlying endpoint, and the semantic rule that undetermined must not be treated as a pass. It does not state explicitly that the call is non-mutating or whether results are cached/paginated, which is the remaining gap.

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?

Front-loaded with purpose and return semantics, then auth, then cost, then the sibling exclusion, then the transport detail — a sensible ordering with no filler sentences. The pricing parenthetical and the closing 'proxies POST ... with these arguments and Authorization' are somewhat dense but each carries operational information.

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?

Covers the elements an agent most needs for a complex, unannotated, no-output-schema tool: verdict vocabulary, auth, cost and sibling routing. However, for a 7-parameter tool with a deeply nested required `policy` object, the absence of any parameter-level explanation leaves a real completeness gap.

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% across 7 parameters, including a nested `policy` object with licence, origin, residency and commercial_use sub-objects, plus `verdicts`, `platforms`, `models`, `limit`, `offset` and `require_no_undetermined`. The description mentions licence/origin/data handling, which lightly maps to the policy object, but adds no meaning for filtering, pagination, or the require_no_undetermined flag, so it does not compensate for the coverage gap.

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?

Opens with a specific question-form verb+resource ('Which models and platforms does my policy allow?') and then names the exact return contract (pass/fail/undetermined per model/platform for licence, origin, data handling). It explicitly differentiates from the sibling 'decide', which handles model selection, so an agent can route between the two without opening schemas.

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?

Gives explicit when-not guidance ('It doesn't choose a model; use decide among passing rows'), which is the key routing decision an agent faces here, plus the rule that 'undetermined is not a pass' for interpreting results. The positive trigger is only implied by the opening question rather than stated as a condition, so it falls just short of a 5.

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.