Skip to main content
Glama

rule toggle

rule_toggle
DestructiveIdempotent

Enable or disable a workspace automation rule, controlling future provider exports or resource archival. Provide a unique requestId and reuse it when retrying this exact action. Item updates require the current version from get_tasks, get_items, or get_workspace. Permissions are enforced for the workspace, project, and account.

Input Schema

NameRequiredDescriptionDefault
idYes
enabledYes
requestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description adds real value by disclosing permission enforcement scopes (workspace/project/account) and the retry/idempotency contract, but the misplaced item-version sentence muddies rather than clarifies behavior.

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

Conciseness3/5

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

Purpose is front-loaded and the requestId guidance is tight, but the item-version sentence is off-topic and does not earn its place, and the final permissions sentence is boilerplate. Four sentences with one clearly wasteful.

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?

For a 3-param mutation with an output schema absent but annotations covering safety, the core (what it does, retry contract, permissions) is present. The unexplained id parameter and the confusing item-version line leave gaps an agent would have to resolve.

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?

With 0% schema description coverage, the description must carry the load. It explains only requestId semantics; id and enabled are left to inference (enabled being obvious, but 'id' is never clarified as the rule identifier). It partially compensates but leaves the primary identifier ambiguous.

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?

States a specific verb pair and resource: 'Enable or disable a workspace automation rule.' It also names the downstream effect ('provider exports or resource archival'), which distinguishes it meaningfully from the sibling rule_create. It stops short of explicitly contrasting itself with rule_create or schedule_pause, so it isn't a 5.

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?

It gives operational retry guidance (unique requestId, reuse on retry) but no clear when-to-use vs. alternatives. Worse, the sentence 'Item updates require the current version from get_tasks, get_items, or get_workspace' appears irrelevant to toggling a rule, introducing confusion rather than routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources