Skip to main content
Glama

mcp_disable_writes

Re-enable read-only protection for the current session, blocking further write operations and returning the updated write mode.

Instructions

Re-enable read-only protection for this session.

Returns: The updated write mode.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it discloses very little beyond session scoping. It does not say whether the change is reversible, whether in-flight or snapshotted writes are affected, whether other sessions are impacted, or whether any authorization is required — all material for a mode-switching tool that pairs with snapshot/restore siblings.

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 operative sentence is short and front-loaded, which is good. The trailing 'Returns: The updated write mode' is largely redundant given a declared output schema, though it is mildly useful as a hint about the response shape.

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?

An output schema exists, so the return value need not be explained. However, for a session-wide mode switch with no annotations, the definition leaves the agent without the behavioral facts that matter most — reversibility, blast radius, and interaction with write snapshots.

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 the baseline is 4; there is nothing for the description to disambiguate. The schema fully covers what little exists.

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 names a specific effect — re-enabling read-only protection — and scopes it to 'this session', which is more than a restatement of the name. It does not, however, distinguish itself from the likely inverse sibling (mcp_enable_writes) or state the toggle direction explicitly, leaving an agent to infer that 'disable writes' == 'restore read-only mode'.

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 guidance on when to call this versus mcp_enable_writes, no prerequisites, and no mention of what state the session must be in. The only contextual hint is 'for this session', which delimits scope but does not tell the agent when to prefer this tool.

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

Deploy Server

Other Tools