Skip to main content
Glama

Verify another agent (Shine)

verify_agent

Prove who is on the other end before delegating work: challenges the Shine ID at shine.kyde.com, waits for the agent to confirm over its own authenticated connection, then verifies the Ed25519-signed statement against Shine's JWKS and compares the nonce hash. Needs no scoring key. The verified agent typically polls every 30 s, so a first call often answers 'pending' — call verify_agent again with the returned challenge_id, result_token and nonce to keep waiting. In the result, band 'learning' means identity confirmed but behavior not yet scored (still learning: 30 runs over at least 3 days): whether to delegate to a learning agent is the challenger's policy call. Claims v1 adds facts: contract and frame as triples {hash, schema_version, confirmed_at} (null = none confirmed), compliance {state none|too_young|measured, since, days}, holds_band none|low|elevated (last 90 days, never a raw count), method_version, and false_alarms, reserved and null until presentable — null NEVER means zero. The statement says what was measured, never 'safe'.

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": "verify_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceNo
wait_sNoSeconds to wait for confirmation in this call (default 20, max 25).
sessionNoOptional session marker; the verified agent answers only on the path the challenge names (relay protection).
shine_idNoThe Shine ID the other agent names (sh_...). Starts a new challenge.
challengerNoWho is asking — shown to the verified agent and bound into the statement's aud. Use your own agent/service name.
challenge_idNoFrom an earlier 'pending' answer: continue waiting on that challenge (together with result_token and nonce).
result_tokenNo

Output Schema

NameRequiredDescriptionDefault
nextNo
noteNo
nonceNo
claimsNo
statusYes
jwks_urlNo
verifiedNotrue only after the signature, nonce and expiry checks passed locally.
statementNoCompact JWS — any third party can re-verify it offline against jwks_url.
expires_atNo
challenge_idNo
result_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true and destructiveHint=false; the description adds genuinely new behavior: an external network round-trip to shine.kyde.com, a bounded wait (wait_s default 20, max 25), the ~30 s polling cadence of the remote agent, and the fact that no scoring key is required. The 'null NEVER means zero' and reserved-field warnings disclose an interpretation trap an agent would otherwise fall into. Slightly dense framing keeps it at 4 rather than 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and polling loop are correctly front-loaded, but the claims-v1 paragraph is a single 60+ word sentence packing hash triples, compliance states, band ranges, method_version and false_alarms — much of which restates what an output schema is supposed to carry. The 'null NEVER means zero' caveat earns its place; the field-by-field enumeration largely does not.

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?

For a multi-step, out-of-band verification handshake this is close to complete: it covers the asynchronous loop, the 'learning' interpretation, and the null-vs-zero trap. The one shortfall is that it spends effort describing return fields despite an output schema existing, instead of leaving those to the schema and keeping the prose on invocation behavior.

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 coverage is 71%, so the schema already explains shine_id, challenger, wait_s and session. The description's real contribution is the mode distinction — a new challenge via shine_id versus continuing one via challenge_id/result_token/nonce — which it states as an operational loop rather than a field reference. With most parameters already documented in the schema, it lands at the baseline-plus level.

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?

The opening clause names a specific verb and resource ('Prove who is on the other end before delegating work') and then enumerates the mechanism: challenge the Shine ID at shine.kyde.com, wait for out-of-band confirmation, verify an Ed25519-signed statement against JWKS, compare the nonce hash. An agent can distinguish this from sibling key-management tools (create_key, claim_key, get_scores) without opening any schema.

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?

It states the triggering condition ('before delegating work') and handles the non-obvious flow case explicitly: a first call often returns 'pending', so re-invoke with the returned challenge_id, result_token and nonce to keep waiting. It also flags that delegating to a 'learning'-band agent is a caller policy decision. It does not name excluded cases or point at a sibling alternative, which keeps it from 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.

Resources