Skip to main content
Glama

Gate: may a site accept this agent or upload?

gate_check
Read-onlyIdempotent

Call when your site accepts agents or uploads. Free, no key. The Gate websites use on agent traffic: checks an RS-KYA token (or serial), a Web Bot Auth signature from any resolvable Signature-Agent signer, a Rights Receipt, clearance and intent token against the site's policy (min_kya_level, require_kya, require_web_bot_auth, allowed_signature_agents, require_receipt, allow_agents, deny_agents, require_clearance, require_intent, max_intent_risk); allow or deny, with reasons.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gate_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNoOr serial/RS number
policyNoGate policy
receiptNoRights Receipt
requestNoThe signed request {method, url, headers} as received: its Web Bot Auth signature, and the intent token's key binding.
clearanceNo
kya_tokenNoAgent RS-KYA token
asset_sha256NoUploaded file hash
intent_tokenNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / agent / description
      Previous value: -"Or RS number/handle"New value: +"Or serial/RS number"
  2. Changed1 schema field changed
    • changedInput schema / properties / agent / description
      Previous value: -"Or serial/RS number"New value: +"Or RS number/handle"
  3. Changed1 schema field changed
    • changedInput schema / properties / agent / description
      Previous value: -"Or RS number/handle"New value: +"Or serial/RS number"
  4. Changed5 schema fields changed
    • addedInput schema / properties / agent / description
      Added value: +"Or RS number/handle"
    • addedInput schema / properties / asset_sha256 / description
      Added value: +"Uploaded file hash"
    • addedInput schema / properties / kya_token / description
      Added value: +"Agent RS-KYA token"
    • addedInput schema / properties / policy / description
      Added value: +"Gate policy"
    • addedInput schema / properties / receipt / description
      Added value: +"Rights Receipt"
  5. Changed1 schema field changed
    • changedInput schema / properties / request / description
      Previous value: -"The signed request {method, url, headers}, to bind the intent token to the agent's key."New value: +"The signed request {method, url, headers} as received: its Web Bot Auth signature, and the intent token's key binding."
  6. Changed3 schema fields changed
    • addedInput schema / properties / clearance
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / intent_token
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / request
      Added value: +{
      +  "description": "The signed request {method, url, headers}, to bind the intent token to the agent's key.",
      +  "type": "object"
      +}
  7. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the description only needs to add context — and it does: no API key required, policy-driven allow/deny, and a reasons payload. It still doesn't say what happens when inputs are missing (all 8 parameters are optional) or how conflicts between policy flags resolve.

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 trigger and cost note are front-loaded before the mechanics, which is the right order. The policy-key enumeration makes one long clause but each item carries information unavailable elsewhere in the schema, so little is wasted.

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?

With an output schema present, the description only needs decision context, and it supplies the checked inputs and policy levers behind the verdict. What's missing is handling guidance for the fully-optional parameter set — an agent can't tell from the description which combination suffices to get a meaningful verdict.

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?

The description is the only place the nested `policy` object is expanded — the schema just says "Gate policy" — and enumerating min_kya_level, require_kya, allowed_signature_agents, require_clearance, max_intent_risk, etc. adds real meaning. However, it explains none of the other top-level parameters (agent vs. serial, clearance, asset_sha256, intent_token) beyond echoing the schema, leaving the 75%-coverage gaps unfilled. Baseline 3 with partial compensation.

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 chain ("checks ... against the site's policy") and names the concrete artifacts it validates: RS-KYA token/serial, Web Bot Auth signature, Rights Receipt, clearance and intent token. The output contract ("allow or deny, with reasons") removes ambiguity about what the tool returns. It does not explicitly distinguish itself from near-neighbors like kya_check, so it lands at 4 rather than 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?

Gives one positive trigger — "Call when your site accepts agents or uploads" — plus cost/auth context ("Free, no key"). There are no exclusions and no named alternatives (e.g., when a pure token validation should use kya_check instead of a full policy gate), so selection guidance is implied rather than complete.

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