Skip to main content
Glama

Enable write mode

enable_write_mode
Idempotent

Activates time-boxed write mode required before Forgejo/Gitea write operations; it defaults to 10 minutes, extends with successful writes, and auto-reverts.

Instructions

Enter write mode for a limited time (default 10 min, max 60), required before any write tool. Announce this to the user, naming the instance from the returned instance field — several of these servers may be configured against different forges at once.

Input Schema

NameRequiredDescriptionDefault
minutesNoHow long write mode stays active, in minutes (default 10, hard-capped at 60). It also slides forward this far on each successful write, then auto-reverts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond annotations: time-limited mode, default and maximum duration, prerequisite for writes, user-announcement requirement, and the need to name the instance from the returned field when multiple servers/forges are configured. These are operational details an agent needs and they do not contradict the annotations.

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?

Front-loads the core action and prerequisite, then adds the user-facing announcement requirement. It is compact with no wasted text.

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?

Covers prerequisite, duration behavior, and an important output-related instruction about the returned instance field. Given the simple one-parameter schema and informative annotations, no essential calling context is missing.

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

Parameters3/5

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

The single optional minutes parameter has 100% schema description coverage, including default, cap, and timer behavior. The tool description repeats default 10 and max 60 but adds no meaningful parameter semantics beyond the schema, so baseline 3 is appropriate.

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 and resource ("Enter write mode") and scopes it with duration limits. It is clearly distinct from sibling write tools and from disable_write_mode.

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

Usage Guidelines4/5

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

Explicitly says the tool is "required before any write tool," giving clear usage context. It does not explicitly name disable_write_mode as the way to exit early or state when not to use it, so it falls short of full alternatives/exclusions guidance.

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