Skip to main content
Glama

Routing Rules Create

routing_rules.create

Create a rule that recognizes a document type and routes it to an extraction table. The table must belong to this project.

Input Schema

NameRequiredDescriptionDefault
nameYes
promptYes
enabledNo
tableIdYes
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

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the mutation and safety profile is covered. The description adds a meaningful domain constraint (the target table must belong to this project) but says nothing about duplicate-rule behavior, permissions, or what happens to existing rules.

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?

Two tight sentences, front-loaded with the core action and followed by the critical scoping constraint. No padding, though the second sentence could carry a bit more payload given the low schema coverage.

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?

An output schema exists, so return values need not be described. However, for a mutation tool with six parameters at 17% schema coverage and no alternative-tool guidance, the description is only minimally complete for correct invocation.

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 17% (just project_slug), so the description should compensate but largely does not. It maps loosely onto prompt ('recognizes a document type') and tableId ('extraction table'), but name, enabled, and confidenceThreshold are left entirely undocumented in both schema and description.

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?

The description states a specific verb ('Create') and resource ('rule') plus the rule's function (recognizes a document type, routes to an extraction table). It is clearly distinguishable from routing_rules.update/delete/list by the verb, but it does not name or contrast those siblings explicitly.

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?

Usage is only implied by the verb 'Create'; there is no explicit when-to-use, no when-not, and no mention of routing_rules.update as the alternative for modifying existing rules. The one constraint given ('table must belong to this project') is a prerequisite rather than usage routing.

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.