Skip to main content
Glama

Disable write mode

disable_write_mode
Idempotent

Ends write mode immediately instead of waiting for timeout, so write tools are refused again. Use it right after a batch of writes finishes.

Instructions

Leave write mode now instead of waiting for it to time out, so write tools are refused again until enable_write_mode. Harmless when write mode is already off. Answers with the instance and write_mode_active=false; tell the user, naming the instance. Call it as soon as a batch of writes is done.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations declare idempotentHint=true and destructiveHint=false, but the description adds critical context beyond them: the tool toggles a gate that causes write tools to be refused, is safe to call redundantly, and returns the instance plus write_mode_active=false. It also instructs the agent to relay the result to the user, which annotations cannot convey. Lacks any note on permissions or edge cases, so not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and its consequence, followed by safety note and response shape. Every sentence carries distinct information with no redundancy.

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

Completeness5/5

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

No output schema exists, and the description compensates by describing the response ('the instance and write_mode_active=false'). Together with the timing guidance and safety note, an agent has everything needed to call it and report back correctly.

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 for 0 params is 4. The schema is empty and fully consistent with the no-argument invocation.

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

Purpose5/5

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

States a specific verb+resource ('Leave write mode now') and immediately explains the effect: write tools are refused until enable_write_mode. It distinguishes itself clearly from the enable_write_mode sibling by naming it and describing the opposite transition.

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

Usage Guidelines5/5

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

Gives explicit timing guidance ('Call it as soon as a batch of writes is done') and the alternative wait path ('instead of waiting for it to time out'). Also states it is harmless when write mode is already off, removing a common hesitation for the agent.

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