Skip to main content
Glama

claude_set_permission_mode

Set or lower a Claude Desktop chat's permission mode to control how much autonomy that chat has.

Instructions

Keep or lower a Claude Desktop chat's permission mode.

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": {
      "chat_id": "<chat_id>",
      "mode": "<mode>"
    },
    "name": "claude_set_permission_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
chat_idYes

Output Schema

NameRequiredDescriptionDefault
chatYes
noticeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, openWorld=false and idempotent=false. The description adds one meaningful behavioral rule beyond them—that it can retain or reduce privilege but not raise it—which matters for a security-sensitive mutation. It says nothing about what happens on a disallowed escalation attempt, auth requirements, or whether the change takes effect immediately for a live chat.

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 short sentence with no filler, and the key constraint is front-loaded. It is efficient, though the terseness borders on under-specification for a security-relevant setter.

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?

An output schema exists, so return values need not be described. However, with both parameters undocumented in the schema and an enum whose values are never explained, the definition leaves the agent unable to reason about which mode to pass or why an escalation would be rejected.

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%, so the description must carry the parameter burden, yet it never mentions chat_id or the six mode values. The word 'lower' hints that the modes form a privilege ordering, but it does not tell the agent which values are lower than which, or what distinguish plan, auto, dontAsk, etc.

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?

It identifies the resource (a Claude Desktop chat's permission mode) and implies the operation, but the verb phrase 'Keep or lower' is a constraint rather than a clear action—an agent must infer that the tool actually changes the mode. It is distinguishable from the sibling setters (model, effort, fast mode), so the resource is clear even if the operation wording is loose.

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 explicit when-to-use guidance, no preconditions (e.g., whether the chat must be running), and no named alternative. The phrase 'keep or lower' implicitly says the tool must not be used to escalate, which is a partial usage rule, but nothing tells the agent when to invoke this versus doing nothing.

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