Skip to main content
Glama

session_respond_permission

Submit an approval or cancellation decision for a pending permission request in a live session; requests above the configured autonomy ceiling are refused.

Instructions

Answer an outstanding permission decision on a live session. Outcomes exceeding the server autonomy ceiling are refused.

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": {
      "sessionId": "<sessionId>",
      "requestId": "<requestId>",
      "outcome": "<outcome>"
    },
    "name": "session_respond_permission"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentNo
outcomeYes
requestIdYes
sessionIdYes
editedSpecContentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already mark this as a non-read-only, non-destructive, non-idempotent, closed-world mutation. Beyond that, the description adds a meaningful authority constraint: outcomes exceeding the server autonomy ceiling are refused. It still omits what happens on refusal, how errors surface, and whether retries are safe.

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?

Two sentences, front-loaded and free of filler, with the refusal rule stated after the main action. It is arguably too compressed for a five-parameter mutation with a large outcome enum, but the prose itself is efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is a five-parameter, non-idempotent mutation with no output schema and no schema descriptions. The description covers the high-level action and one refusal rule but omits parameter semantics, outcome behavior, and error expectations, leaving too much for the agent to infer.

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

Parameters1/5

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

Schema description coverage is 0% across five parameters, and the description does not explain sessionId, requestId, the many outcome enum values, comment, or editedSpecContent. The only nod to parameters is the word "outcome", leaving invocation semantics almost entirely undocumented.

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: answering an outstanding permission decision on a live session. It does not distinguish itself from related siblings such as session_answer_question or session_pick_options, so sibling differentiation is missing.

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?

Provides clear context for when the tool applies: there must be an outstanding permission decision on a live session. It gives no when-not guidance, prerequisites, or alternatives among the related session tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.