Skip to main content
Glama

Remove a routing rule

remove_project_rule
Destructive

Stop routing calls with this email or domain to the project. Recordings already in the project stay there.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>",
      "rule_id": "<rule_id>",
      "value": "<value>"
    },
    "name": "remove_project_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesThe rule's value (juan@acme.com or acme.com), to confirm which rule this is
rule_idYesThe rule's id (get_project)
project_idYesThe project's id

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
nameYes
rulesYes
countsYes
archivedYes
workspaceYes
last_recording_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / last_recording_at
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "title": "Last Recording At"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "name",
      -  "workspace",
      -  "archived",
      -  "counts",
      -  "url",
      -  "rules"
      -]New value: +[
      +  "id",
      +  "name",
      +  "workspace",
      +  "archived",
      +  "counts",
      +  "last_recording_at",
      +  "url",
      +  "rules"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds genuinely useful context beyond that: it scopes the destruction by stating 'Recordings already in the project stay there,' which reassures an agent that removals do not cascade to data. It does not address repeat-invocation behavior despite idempotentHint=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?

Two short sentences with no waste. The primary action is front-loaded and the non-obvious side effect (recordings persist) follows immediately.

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?

With an output schema and explicit destructive annotations, the description covers what a simple three-parameter removal tool needs. The main remaining gap is guidance on obtaining the rule_id and any permission prerequisites, but nothing critical to invocation 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 coverage is 100%, so all three parameters are documented in the schema, including the note that rule_id comes from get_project and that value confirms which rule. The description reiterates the email/domain nature of the value but adds no format or validation detail beyond the schema, so the baseline of 3 applies.

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 and target: 'Stop routing calls with this email or domain to the project.' That is clearly the inverse of add_project_rule and names the concrete resource (a routing rule keyed by email/domain). It does not explicitly name the sibling it complements, so it stops short of a 5.

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: an agent infers this is the tool for undoing a routing rule. There is no explicit when-to-use/when-not statement, no mention of how to discover the rule_id before calling, and no alternative named (e.g., delete_project for a broader teardown).

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