Skip to main content
Glama

update_call_instruction

DestructiveIdempotent

Edits or switches on/off one of the user's standing call instructions. Use it to correct the wording, change a word fix, or turn an instruction off (enabled false) or back on without losing it. Get instruction_id from list_call_instructions. A word fix can change find and replace; guidance can change text; send only what changes. To make an instruction apply to a different automatic call import, remove it and add it again. Changes apply to calls processed from now on; calls already imported are not changed.

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": "update_call_instruction"
  }
}

Input Schema

NameRequiredDescriptionDefault
findNoWord fix only: the new word or phrase to find.
textNoGuidance only: the new instruction text.
enabledNofalse switches it off but keeps it; true switches it back on.
replaceNoWord fix only: the new replacement.
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.
instructionYes

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.6/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: changes apply only to calls processed from now on, already-imported calls are untouched, and disabling with enabled=false keeps the instruction rather than deleting it. The one gap is that it never explains why the tool is flagged destructiveHint=true (i.e. that editing overwrites existing find/replace/text values), so the agent must infer the risk from annotations alone.

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 core action and the field-to-instruction-type mapping are front-loaded, and the trailing caveat about retroactivity is placed where a reader still needs it. Slightly dense at seven sentences, with the mildly redundant 'correct the wording, change a word fix' phrasing, but nearly every sentence carries decision-relevant information.

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?

For a partial-update mutation tool with an output schema, full parameter coverage, and safety annotations, the description covers everything an agent needs: where to get instruction_id, which fields pair with which instruction kind, that only deltas should be sent, the reassociation path, and the temporal scope of effects. Return values are correctly left to the output schema.

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 3 is the baseline, but the description adds genuine meaning: find/replace belong to 'word fix' instructions while text belongs to 'guidance', and only changed fields should be sent (partial-update semantics). That mapping is not obvious from the schema field descriptions alone, since both branches are optional.

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 ('Edits or switches on/off one of the user's standing call instructions') and immediately scopes it against list/add/remove siblings by saying it edits an existing one and points to list_call_instructions for IDs. An agent can distinguish this from add_call_instruction and remove_call_instruction without opening any schema.

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 when-to-use conditions (correct wording, change a word fix, toggle enabled on/off) and an explicit when-not/alternative: to make an instruction apply to a different automatic call import, remove it and add it again instead of editing. It also tells the agent to send only the fields that change, which prevents accidental overwrites.

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