Skip to main content
Glama

Check an agent against your KYA policy

kya_check
Read-onlyIdempotent

Allow or deny an agent against your policy, on the live record: min_level, require_active (default true), min_grade, max_open_complaints, require_classes, require_domain, min_tenure_days, require_on_the_record. Returns allow and the denial reasons. Call with {"agent": "RS-XXXX-XXXX", "policy": {"min_level": "L1"}}.

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

Input Schema

NameRequiredDescriptionDefault
agentYes
policyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / policy / properties / require_on_the_record
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds value beyond that: it evaluates against the live record, discloses the require_active default of true, and states the response shape (allow plus denial reasons). It omits any note on auth requirements or evaluation cost, keeping it below 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?

The action is front-loaded, then the field list, then the return contract, then a copy-ready example. The middle enumeration is dense and list-like but every item corresponds to a real schema key, so little is wasted.

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 two required params but a nested policy object with eight properties at 0% schema coverage, and the description covers key names without explaining the enum semantics of require_classes or min_grade formats. An output schema exists, so the brief return note is sufficient and no extra burden there.

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 0%, so the description carries real weight and does enumerate every policy key plus the require_active default and an agent ID format example ('RS-XXXX-XXXX'). It still does not explain the domain meaning of require_classes values (G/C/D/F) or the accepted format for min_grade, which are the least self-evident fields.

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 pair and resource: 'Allow or deny an agent against your policy, on the live record.' An agent can tell this is a policy-evaluation gate rather than a record fetch. It does not name the sibling kya_lookup or read_ai_policy to sharpen the boundary, so it stops short of a 5.

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 by 'on the live record' and illustrated with a concrete call, which tells an agent how to invoke it. There is no explicit when-to-use versus kya_lookup (lookup only) or read_ai_policy (read policy), so the selection guidance is left to inference.

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