Skip to main content
Glama

leash_check_decision

Read-onlyIdempotent

Check a Leash decision using the decisionId returned by a paused action. Retrieve its result without repeating the original action. Only this AI can access its own decisions. Supply a concise reason and context for the user's activity record. These explanations do not grant permission. Listed tools may require an account connection or permission change in Leash; follow any access guidance returned by the tool and never bypass a denial.

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": {
      "reason": "<reason>",
      "context": "<context>",
      "input": "<input>"
    },
    "name": "leash_check_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
reasonYesWhy this access is necessary to fulfill the user's request
contextYesThe user request or task that prompted this action; omit unnecessary private details

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the description's added value is real: decisions are scoped to the calling AI, the supplied reason/context are recorded for the user's activity record, and explanations never grant permission. The guidance to follow returned access instructions and never bypass a denial discloses the tool's enforcement role, which annotations cannot express. It does not describe the shape or timing of the result, which is the one behavioral 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?

The core instruction is front-loaded and the sentences are individually tight. The final sentence about account connections and permission changes reads as generic boilerplate carried over from the server's other tools rather than something specific to checking a decision.

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?

There is no output schema, so the description carries the burden of explaining what comes back — but it only says "Retrieve its result." An agent is left to guess whether the result is an allow/deny verdict, a pending status, or structured guidance, even though the mention of denials hints at the possibilities. The input side and access constraints are well covered; the return side is not.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%: reason and context already carry descriptions, but decisionId has only a uuid format with no prose. The description supplies the missing semantics by stating decisionId comes from a paused action, and it reframes reason/context as an activity-record entry that does not itself grant access — meaning the schema does not convey.

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?

"Check a Leash decision using the decisionId returned by a paused action" gives a specific verb and resource plus the exact handle needed, and "Retrieve its result without repeating the original action" rules out the obvious wrong interpretation (re-invoking the paused tool). This is distinguishable from leash_check_connection, which by name alone is about connectivity, not pending decisions.

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?

The trigger is stated concretely: call this when an action paused and produced a decisionId. It also sets a hard constraint ("Only this AI can access its own decisions") that governs whether the call is even legal. It stops short of naming an explicit alternative or a when-not-to-call case, so it lands just under 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.