Skip to main content
Glama

add_call_instruction

Saves a standing instruction for how Marcora handles the user's calls, to the same visible list they edit in Settings. Use it when the user states a lasting preference about their calls, not for a one-off request. Two kinds. guidance (text): steers what Marcora suggests from calls, e.g. "never suggest content plans about pricing sheets", "only suggest case studies from calls", "use our One-Pager blueprint for one-pagers". word_fix (find and replace): a recurring transcription error to correct, e.g. find "Market Core", replace "MarketCore". Instructions apply to calls processed from now on; calls already imported are not changed, so say so when the user expects past calls to change. Applies to all the user's calls by default; pass automatic_call_import_id (from list_call_instructions) to limit it to calls from one automatic call import. If unsure it already exists, call list_call_instructions first. Duplicates and the per-scope limits are refused with a plain message: report it and, at the limit, offer to remove an old one. Tell the user exactly what was saved.

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>",
      "kind": "<kind>"
    },
    "name": "add_call_instruction"
  }
}

Input Schema

NameRequiredDescriptionDefault
findNoword_fix only: the word or phrase as it is wrongly transcribed. Matching ignores case.
kindYesword_fix needs `find` and `replace`; guidance needs `text`.
textNoguidance only: the instruction in one short sentence, in the user's words.
enabledNoFalse saves it switched off.
replaceNoword_fix only: the correct word or phrase.
team_idYesTeam id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions.
automatic_call_import_idNoLimit to calls from this automatic call import (from automatic_call_imports in list_call_instructions). Omit for all the user's calls.

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: -[
      -  "kind"
      -]New value: +[
      +  "team_id",
      +  "kind"
      +]
    • 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.8/5.0
Behavior5/5

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

Annotations only declare the generic write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false). The description adds real behavioral context beyond them: instructions apply only to calls processed from now on and do not retroactively change imported calls, scope defaults to all calls unless automatic_call_import_id narrows it, and duplicates/limits are refused with a plain message that must be reported to the user.

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?

Front-loaded with the core action and the primary when-to-use test, then the kind-specific detail, then edge cases — a sensible progression. It is dense but nearly every sentence carries a distinct rule; only the import-id sourcing hint mildly duplicates the schema.

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 non-idempotent write tool with seven parameters, the definition covers trigger, kind selection, scope default, retroactivity, failure handling, and the required user-facing confirmation. An output schema exists, so return values need no explanation.

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, but the description earns more by giving worked examples of `text` ('never suggest content plans about pricing sheets') and of the find/replace pair ('Market Core' → 'MarketCore'), and by explaining the scoping intent of automatic_call_import_id. Some of it repeats the schema's own hints (where to source the import id), which keeps it short of a 5.

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 concrete verb and resource — saves a standing instruction for how Marcora handles the user's calls — and immediately splits it into the two supported kinds (guidance, word_fix) with examples. It also locates the result ('the same visible list they edit in Settings'), so the agent knows exactly what artifact it creates.

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?

Explicit trigger condition ('when the user states a lasting preference about their calls, not for a one-off request'), an explicit pre-check ('if unsure it already exists, call list_call_instructions first'), and an explicit error path for duplicates and per-scope limits. Sibling routing and exclusions are both present.

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