Skip to main content
Glama

remove_constraint

DestructiveIdempotent

Delete a constraint or non-goal from a project. Use this when the user says a rule no longer applies or was recorded by mistake. Get the constraint id from list_constraints.

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": {
      "constraint_id": "<constraint_id>"
    },
    "name": "remove_constraint"
  }
}

Input Schema

NameRequiredDescriptionDefault
constraint_idYesThe constraint id from list_constraints.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is carried by structured data. The description confirms the target is a constraint or non-goal and where the id comes from, but adds nothing about irreversibility, behavior when the id is unknown, or side effects on dependent items.

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?

Three short sentences, front-loaded with the action, then the trigger, then the id source. Nothing is redundant or padded.

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?

For a one-parameter destructive delete with full annotation coverage and no output schema, the definition supplies everything needed to select and call the tool. Only minor gaps remain, such as error behavior for a missing or already-removed constraint, which idempotentHint partly covers.

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% for the single parameter and the schema text already says 'The constraint id from list_constraints,' so the description largely repeats it. The provenance hint is useful in the description but does not exceed what the schema provides.

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?

States a specific verb (delete/remove) and resource (constraint or non-goal on a project), which cleanly distinguishes it from add_constraint and list_constraints in the sibling set. An agent can identify the operation without opening the schema.

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?

Gives a concrete usage trigger ('when the user says a rule no longer applies or was recorded by mistake') and directs the agent to list_constraints to obtain the id. It lacks an explicit when-not or a pointer to a modify-instead alternative, but the positive guidance is clear.

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.