Skip to main content
Glama

routing_exception_add

Bypass validate_routing_guard for tasks by adding an exception rule with specified type and pattern.

Instructions

Add a routing bypass rule so that matching tasks skip validate_routing_guard.

exception_type must be one of: skill, filetype, project, command, caller, path. pattern supports glob wildcards (e.g. 'tgsd-*', '.md', '/home/user/notes').

Examples: routing_exception_add(exception_type='skill', pattern='auto-time') routing_exception_add(exception_type='skill', pattern='tgsd-*') routing_exception_add(exception_type='filetype', pattern='.md') routing_exception_add(exception_type='project', pattern='/home/me/notes') routing_exception_add(exception_type='command', pattern='Write') routing_exception_add(exception_type='caller', pattern='github-copilot') routing_exception_add(exception_type='path', pattern='/tmp/')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoOptional human-readable note / reason for this exception
patternYesPattern to match (supports * globs, case-insensitive)
exception_typeYesOne of: skill, filetype, project, command, caller, path
Behavior3/5

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

With no annotations, the description carries full burden. It states the tool adds a rule and lists required parameters, but does not disclose potential side effects (e.g., idempotency, limits, or what happens on duplicate patterns). However, for an add tool, the behavioral traits are adequately implied.

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?

The description is well-structured with a clear opening, parameter explanations, and examples. It is moderately sized but every sentence adds value. It could be slightly more concise by removing redundant repetition, but it remains clear and helpful.

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

Completeness3/5

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

The tool has no output schema, and the description does not explain the return value or success/failure indicators. While the context signals indicate no output schema, the description should at least mention that the tool returns a confirmation or error message to be complete for a simple add operation.

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

Parameters4/5

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

Schema coverage is 100%, but the description adds significant value by listing allowed exception_type values and explaining pattern with glob examples. This goes beyond the schema's basic descriptions, helping the agent construct correct inputs.

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 clearly states the tool adds a routing bypass rule so that matching tasks skip validate_routing_guard. It specifies the verb 'add' and the resource 'routing bypass rule', and distinguishes from siblings like routing_exception_remove and routing_exception_list.

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?

The description indicates when to use the tool (to add an exception for validate_routing_guard) and provides context about exception_type and pattern. It could be improved by explicitly stating when not to use this tool versus alternatives (e.g., for removing or listing exceptions).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/timjensgrossinger/threnody'

If you have feedback or need assistance with the MCP directory API, please join our Discord server