Skip to main content
Glama

promote_rule

Promotes a coding rule to a broader scope in Axiom Meridian by deprecating the original and logging a PROMOTED history entry; creating it in the new scope requires a separate proposal.

Instructions

Promote a rule to a more general scope: marks the original as deprecated (in both SQLite and its source .md file) and records a PROMOTED rule_history entry. Does not create the rule in the new scope — that requires a separate proposal.

Access level: write. Returns: JSON with the rule_id, new_scope_id, and resulting status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rule_idYesThe RN-* id of the rule to promote.
new_scope_idYesDestination scope to promote the rule into.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations present, the description carries the disclosure burden and does it well: it names the destructive side effect (deprecation of the original in two stores), the audit side effect (rule_history entry), the access level ('write'), and explicitly bounds the operation by saying the new-scope rule is NOT created. Remaining gaps are permission requirements and reversibility of the promotion.

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?

Front-loaded with the action and its effects in the first two sentences, followed by short Access level and Returns lines. Slightly redundant since an output schema already exists, but nothing is padded or wasteful.

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 two-parameter mutation tool with no annotations, the description covers scope, side effects, access level, and explicitly excludes the assumed creation of the new-scope rule. The Returns line duplicates the output schema, and no guidance is given on scope validity or error conditions, so it is strong but not fully self-sufficient.

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%, with both parameters documented as the RN-* rule id and the destination scope, so the schema already carries the semantics. The description's framing ('promote to a more general scope') adds directional context but no syntax, id format, or scope-resolution guidance beyond the schema.

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 (promote) and resource (rule to a more general scope), then enumerates the concrete effects: original marked deprecated in both SQLite and its source .md file, and a PROMOTED rule_history entry recorded. It also preempts the most likely confusion by stating it does not create the rule in the new scope, which separates it from create_pending_proposal.

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?

Gives clear context for the operation's scope: promotion only deprecates the source rule, and creating the rule in the new scope 'requires a separate proposal' — a useful pointer toward the follow-up sibling. It does not state prerequisites explicitly (e.g. which scope relationships are valid, whether approval is needed), so it stops short of a full when/when-not map.

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