Skip to main content
Glama

Approve Steering Rule

approve_steering_rule

Approve one pending steering rule so it reaches the iteration prompts.

Pass the project id and the rule `id` from list_steering_rules. Only a
`pending` rule changes; an already active rule returns `changed: false`.
A retired rule is refused (409): approval never re-activates it. Your
identity comes from this connection and is recorded on the audit trail.

Input Schema

NameRequiredDescriptionDefault
rule_idYes
project_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses the state precondition (pending only), the no-op response for already-active rules, the 409 refusal for retired rules, and the audit-trail side effect of the caller's connection identity. The audit recording also explains why the operation is not marked idempotent even though a repeat call returns changed:false.

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?

Four short sentences, front-loaded with the action and outcome, then inputs, then edge cases, then the audit note. No sentence is filler; the last one carries real behavioral information.

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?

For a two-parameter mutation with annotations and an output schema, the description covers the state precondition, the error path, the return-flag semantics, and the side effect. Nothing an agent needs in order to call it correctly 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?

Schema description coverage is 0%, so the description has to carry parameter meaning. It names both inputs semantically (project id, rule id) and gives the provenance of rule_id, but supplies no format, source, or validation detail for project_id. Partial compensation for a low-coverage 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 (approve), a specific resource (one pending steering rule), and the outcome it produces ('so it reaches the iteration prompts'). This clearly separates it from sibling tools like retire_steering_rule and list_steering_rules without needing to open either schema.

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?

Explicitly routes the agent to the sibling that supplies the identifier ('the rule `id` from list_steering_rules') and states the applicability conditions: only a pending rule changes, an active rule is a no-op returning changed:false, and a retired rule is refused with 409. That is when-to-use, when-not-to-use, and where to get inputs, all in one place.

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.