Skip to main content
Glama

Routing Rules Update

routing_rules.update
Destructive

Change a routing rule, including its prompt, destination, confidence threshold, or enabled state.

Input Schema

NameRequiredDescriptionDefault
nameNo
promptNo
enabledNo
rule_idYes
tableIdNo
project_slugNoSlug of an owned project. Optional only when the account has exactly one visible project; required for accounts with multiple visible projects.
confidenceThresholdNo

Output Schema

NameRequiredDescriptionDefault
routing_ruleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / project_slug / description
      Added value: +"Slug of an owned project. Optional only when the account has exactly one visible project; required for accounts with multiple visible projects."
  2. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, but the description does not explain whether this is a partial or full replacement update, whether omitted fields are preserved or cleared, or that the operation is destructive. For a destructive mutation, the partial-vs-replace semantics are the single most important thing to disclose and they are absent.

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?

One tight sentence, front-loaded with the action and resource, with no redundant restatement of the title. Efficient, though brevity here is partly a symptom of missing content rather than disciplined trimming.

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

Completeness2/5

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

An output schema exists so return values need not be explained, but with 14% schema coverage, destructive mutation semantics, and no usage guidance, the definition leaves critical information an agent needs before calling this tool.

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

Parameters2/5

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

Schema description coverage is only 14%, so the burden falls on the description, yet it covers just three of seven parameters (prompt, confidenceThreshold, enabled) and omits rule_id, name, tableId, and project_slug. It adds no format or constraint detail (e.g., the 60-100 confidence range) beyond what the schema already encodes.

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 (change) and resource (routing rule) and enumerates the mutable fields, so it is distinguishable from routing_rules.create/delete/list at a glance. However it names 'destination' while the schema exposes 'tableId', leaving a small ambiguity about what is being changed.

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?

No when-to-use guidance, no mention of when to prefer routing_rules.create or delete, and no prerequisites such as required permissions or project scoping are given. The agent is left to infer invocation context entirely.

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.