Skip to main content
Glama

remove_call_instruction

DestructiveIdempotent

Permanently removes one of the user's standing call instructions from their Settings list. Use it when the user asks to stop applying an instruction ("stop doing that", "forget that fix"). To keep it but pause it, use update_call_instruction with enabled false instead. Get instruction_id from list_call_instructions and confirm which one if the user's wording could match more than one. Calls already processed keep what the instruction did; later calls no longer use it.

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": {
      "team_id": "<team_id>",
      "instruction_id": "<instruction_id>"
    },
    "name": "remove_call_instruction"
  }
}

Input Schema

NameRequiredDescriptionDefault
team_idYesTeam id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions.
instruction_idYesThe instruction's instruction_id, from list_call_instructions.

Output Schema

NameRequiredDescriptionDefault
noteYesReminder of when the change takes effect.
teamNoTeam this action applied to.
removedYesTrue when the instruction was removed.
instruction_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / team_id
      Added value: +{
      +  "description": "Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions.",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "instruction_id"
      -]New value: +[
      +  "team_id",
      +  "instruction_id"
      +]
    • addedOutput schema / properties / team
      Added value: +{
      +  "description": "Team this action applied to.",
      +  "properties": {
      +    "id": {
      +      "type": "integer"
      +    },
      +    "name": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "name"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the destructiveHint=true and idempotentHint=true annotations, it explains what destruction actually means: calls already processed retain the instruction's effect, later calls do not. That downstream-scope detail is exactly the kind of context annotations cannot express.

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?

Five tight sentences ordered by importance: what it does, when to use it, the safer alternative, how to obtain the ID, and the effect on past calls. Parenthetical user phrasings are functional rather than filler.

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

Completeness5/5

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

A destructive two-parameter tool with an output schema and rich annotations is fully covered: scope, alternative, ID sourcing, ambiguity handling, and post-deletion semantics. Nothing an agent needs in order to call it correctly is missing.

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%, so the baseline is 3; the description adds provenance and disambiguation guidance for instruction_id (source it from list_call_instructions, confirm if the user's wording matches several). team_id is left to the schema, which already documents its source and optionality.

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 and resource ('Permanently removes one of the user's standing call instructions from their Settings list') and scopes it to a single item. It is clearly distinguishable from update_call_instruction and list_call_instructions, which are named in the same breath.

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

Usage Guidelines5/5

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

Gives explicit trigger phrasing ('stop doing that', 'forget that fix'), an explicit exclusion with the correct alternative ('To keep it but pause it, use update_call_instruction with enabled false instead'), and a prerequisite workflow (fetch instruction_id via list_call_instructions, confirm when ambiguous).

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