Skip to main content
Glama

Retire a rule

retire_rule
Destructive

Takes a rule out of force, with the reason, which replaces the rule in every briefing. Only with the rules switch your person turned on. Retire a rule only when your person told you to, or when a person on the project asked and your person would agree. The rule stays in the record as retired.

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": {
      "rule_id": "<rule_id>",
      "reason": "<reason>"
    },
    "name": "retire_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy it no longer applies, in a sentence.
projectNoWhich project, by its id from get_project. Only needed when this connection reaches several projects and the call names no task, area or proposal.
rule_idYesThe rule's id, from a briefing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, but the description adds meaningful nuance beyond them: the rule is not erased but stays in the record as retired, the reason propagates into every briefing, and the rules switch must be enabled. Idempotency and what happens on a repeat retirement are not addressed.

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?

It is short, but the phrasing is muddled: 'with the reason, which replaces the rule in every briefing' leaves the referent of 'which' ambiguous, and 'Only with the rules switch your person turned on.' is a sentence fragment placed after the effect rather than before the call.

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

Completeness4/5

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

For a three-parameter mutation tool with no output schema and annotations covering the safety profile, the description covers effect, authorization, and persistence. Only edge cases such as already-retired rules or the return value remain unstated.

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?

Schema description coverage is 100%, so all three parameters are documented in the schema itself. The description only adds that the reason replaces the rule in briefings, which clarifies intent but adds little beyond the schema's own wording.

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 gives a specific verb and resource (retire a rule / take it out of force) and states the effect on briefings. It doesn't name the counterpart tool set_rule, so sibling differentiation is only implied.

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?

It gives explicit authorization conditions for when to use it: only when the person's rules switch is on, and only when the person said to or a project member asked and the person would agree. No alternative tool is named for the opposite action, which keeps it off a 5.

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