Skip to main content
Glama

Leash

Read Leash policy

leash_policy_read
Read-onlyIdempotent

Verifies a Leash policy token's signature and returns the decoded policy (v1/v2), expiry and time left, human-readable caps and allowed contracts with labels. Chain is taken from the verified policy; optional chain is a cross-check.

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

Input Schema

NameRequiredDescriptionDefault
chainNoOptional cross-check against the signed policy's chain
policyYesLeash policy token (lp1.…)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world. The description adds that it verifies the signature, returns decoded policy versions, expiry, time left, human-readable caps, and allowed contracts with labels. It also clarifies that the authoritative chain comes from the verified policy and the optional chain is only a cross-check, which is useful behavioral context beyond the annotations.

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

Conciseness5/5

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

Two sentences, front-loaded with the core action and return values, followed by a chain clarification. No redundant or filler language.

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 read/verify tool with no output schema, the description explains the return payload in reasonable detail: policy version, expiry, time left, caps, allowed contracts with labels. It omits error behavior for invalid signatures, but covers the essential success-path context needed to call and interpret the tool.

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 100%, so the schema already documents both parameters. The description reinforces that chain is taken from the verified policy and the optional chain is a cross-check, adding slight clarity about precedence, but it does not introduce new format or usage details beyond the schema.

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 and resource: verifies a Leash policy token's signature and returns the decoded policy. It does not explicitly name sibling tools or say when to use it over leash_policy_usage or leash_policy_create, so the differentiation is implicit.

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?

Implies the tool's use for verifying a policy token but gives no explicit when-to-use or when-not-to-use guidance, nor does it name alternatives. The only usage-like note is that the optional chain parameter is a cross-check, which is parameter semantics rather than general usage guidance.

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