Skip to main content
Glama

replace_routing_strategy

Idempotent

Replace a routing strategy. Full document replacement; missing optional fields are cleared.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesHuman-readable name
tagsNoTags. Omit to clear.
routingYesRouting tree
channelsNoPer-channel delivery configuration. Omit to clear.
providersNoPer-provider delivery configuration. Omit to clear.
descriptionNoDescription. Omit to clear.
routing_strategy_idYesThe routing strategy ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already indicate a non-read idempotent operation; the description adds important behavioral detail that omitting optional fields clears existing values. This clarifies the actual impact of a call, which is not fully captured by the annotations. It does not mention auth or return behavior, but the core destructive semantics are disclosed.

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?

Two short sentences with no filler. The primary action is stated first and the critical replacement semantics are front-loaded in the second sentence.

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?

The description captures the essential behavior needed to invoke the tool correctly: full replacement and clearing of missing optional fields. The required parameters are documented in the schema, and no output schema exists to explain. It is complete for this operation, though a brief note distinguishing it from create/update would elevate it further.

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% and each optional parameter is already documented as 'Omit to clear'. The description's note about missing optional fields being cleared reinforces this but adds no parameter-level information beyond what the schema provides, so the baseline 3 is appropriate.

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?

The description names a specific verb ('Replace') and resource ('routing strategy'), and adds the key property that this is a full document replacement. This makes it distinguishable from sibling tools such as create_routing_strategy, archive_routing_strategy, or get_routing_strategy without needing to inspect schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'Full document replacement' implies this tool is for replacing entire routing strategies rather than patching specific fields, but it never explicitly says when to prefer it over create/update/archive siblings or what to do for partial updates. Usage context is present but only by inference.

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