Skip to main content
Glama

Correct a history entry

correct_interaction
Idempotent

Fix an entry's kind, channel, date or summary. Only whoever logged it, a manager or an admin.

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": {
      "id": "<id>"
    },
    "name": "correct_interaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEntry id from list_interactions.
kindNoWhat happened: MESSAGE_IN, MESSAGE_OUT, CALL, MEETING or NOTE.
channelNoWhere it happened.
summaryNoThe corrected one-line summary.
occurredAtNoWhen, ISO 8601.
datePrecisionNo"day" or "month".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this to be a non-destructive, idempotent mutation (readOnlyHint=false, idempotentHint=true, destructiveHint=false). The description adds genuinely new behavioral context by disclosing the permission model: only the original logger, a manager, or an admin may perform the correction. What it does not disclose is partial-update semantics (are omitted fields left untouched?) or what failure looks like for an unauthorized caller or unknown id.

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?

Two short sentences, front-loaded with the action before the permission caveat, with no redundant wording. The second sentence is a fragment ('Only whoever logged it, a manager or an admin.') that reads as terse shorthand rather than a complete statement, which slightly costs clarity.

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

Completeness3/5

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

With six parameters, full schema coverage, and annotations present, the essential call mechanics are covered, and the description adds the critical authorization rule. It remains incomplete in that it never clarifies partial-vs-full update behavior or ventures beyond annotations/destructive scope. There is no output schema, 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter including id, kind, channel, summary, occurredAt and datePrecision is already documented in the schema. The description's field list mirrors rather than extends that documentation, adding no format, enum, or interaction detail beyond it. Baseline 3 applies when the schema carries the parameter burden.

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?

States a specific verb and resource combination ('Fix an entry') and enumerates the editable fields (kind, channel, date, summary), so the agent knows exactly what the tool mutates. It is distinguishable from log_interaction (creation) and undo_interaction (reversal) by implication, though it never names them.

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?

The word 'Fix' implies the tool is for correcting previously logged data rather than creating or reverting it, and the second sentence establishes an authorization condition. However, it offers no explicit guidance on when to choose this over undo_interaction (for a wholly wrong entry) or how it differs from re-logging, leaving that inference to the agent.

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