Skip to main content
Glama

permission_status

Read-only

Retrieve the approved scope for a permission request, including allowed working directories and whether the full program was approved.

Instructions

Get the actual approved scope. any_directory refers to working directories. all_arguments_allowed means the entire program was approved.

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": {
      "request_id": "<request_id>"
    },
    "name": "permission_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

B3/5.0
Behavior4/5

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

Annotations already declare a safe read (readOnlyHint=true, openWorldHint=false), so the description is not obligated to restate safety. What it does add is genuine interpretive context for two returned fields (any_directory = working directories, all_arguments_allowed = whole program approved), which prevents misreading the approval scope. It stops short of saying what a missing or expired request returns.

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 tight sentences with no filler, and the core action is front-loaded. The telegraphic phrasing of the field-glossary sentence is slightly clipped, but nothing is wasted.

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?

The output schema exists, so return structure need not be spelled out, and the field glossary covers the ambiguous parts. However, a one-parameter lookup tool with an undocumented request_id and no pointer to the sibling that produces it leaves a real gap in how to invoke it correctly.

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

Parameters2/5

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

Schema description coverage is 0% for the single required parameter request_id, and the description never mentions it, its 32-hex format, or where such an id originates. For a low-coverage schema the description is expected to compensate, and here it does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get the actual approved scope" gives a verb and an object, but the object is abstract: the description never says the scope belongs to a permission request, so the agent must infer the resource from the parameter name and the sibling set (request_permission, list_allowed_commands). It is distinguishable from list_allowed_commands only by implication, not by any stated contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to call this versus request_permission or list_allowed_commands, and no prerequisite such as "call after request_permission returns a request id." The agent gets no selection criteria at all.

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