Skip to main content
Glama

list_allowed_commands

Read-only

Lists bundled rules, the editable allowlist path, and active file rules so you can review and manage which local development commands are permitted.

Instructions

List bundled rules, the path to the editable allowlist, and the active file rules.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds a little context by revealing that the allowlist is editable (implying a separate write path exists) and that both bundled and file-level rules are surfaced, but it says nothing about precedence between bundled and file rules or what happens on conflict.

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?

One compact sentence with the returned content front-loaded and no filler. It is arguably over-compressed for a tool whose name and description use different vocabulary, but nothing is wasted.

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?

An output schema exists, so the description need not explain return values, and there are no parameters or nested structures to document. For a zero-argument read tool with full annotation coverage, this is essentially complete; only the bundled-vs-file rule precedence is left unstated.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. Schema coverage is 100% and the empty argument object is self-explanatory.

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?

The description gives a specific verb ('List') and enumerates the three things returned: bundled rules, the editable allowlist path, and active file rules. That is clear enough to act on, but it never bridges the gap between the tool name ('allowed commands') and the 'rules/allowlist' framing, and it does nothing to distinguish it from the sibling 'permission_status'.

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 when-to-use guidance, no mention of when this is preferable to 'permission_status' or 'request_permission', and no stated preconditions. The agent must infer from the name alone that this is the tool for inspecting what commands are currently permitted.

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