Skip to main content
Glama

Annotate a call

annotate_call
DestructiveIdempotent

Set the account owner's note, flag (report an agent mistake with a reason), handled marker and rating on a call - the same fields as the /hovory call detail in the portal. Send only the fields you want to change. note (up to 2000 characters) sets a free-text note, or clears it if sent as an empty string. flagReason (1 to 500 characters) flags the call and clears any handled marker, since a new report reopens attention; unflag: true removes the flag instead (mutually exclusive with flagReason - sending both is a validation error). handled: true marks the call as dealt with (rejected together with flagReason/unflag: true - flagging always reopens attention), handled: false clears the handled marker. rating ("good" or "bad") records a one-click rating - ratingReason and ratingNote are only accepted together with rating: "bad" (ratingReason is one of misunderstood, wrong_answer, silence, hung_up_early, other; ratingNote up to 500 characters); rating is recorded with source "mcp" and a fresh rating always overwrites an earlier one. Same data as PATCH /v1/calls/{id} (response schema in /openapi.json).

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

Input Schema

NameRequiredDescriptionDefault
idYesId of the call to annotate, from list_calls or get_call. Looks like c_9f3a2b7c4d1e.
noteNoFree-text note about the call, up to 2000 characters. An empty string clears it. Omit to leave it unchanged.
ratingNoOne-click call rating, same as the portal card: "good" or "bad". A new rating always overwrites an earlier one. Recorded with source "mcp".
unflagNoSet to true to remove an existing flag. Mutually exclusive with flagReason.
handledNotrue marks the call as handled/dealt with, false clears that marker. Rejected together with flagReason or unflag: true - flagging always reopens attention.
flagReasonNoReason the call is being flagged (what the agent got wrong), 1 to 500 characters. Flagging clears any handled marker. Mutually exclusive with unflag.
ratingNoteNoOptional free-text note for a "bad" rating, up to 500 characters. Only accepted together with rating: "bad".
ratingReasonNoReason for a "bad" rating: misunderstood, wrong_answer, silence, hung_up_early or other. Only accepted together with rating: "bad".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare destructive=true, idempotent=true, readOnly=false; the description supplies the missing substance: flagging clears the handled marker and reopens attention, unflag removes it, an empty-string note clears the note, a new rating overwrites the old one and is tagged source 'mcp'. That explains what is actually destroyed and how state interacts, which is exactly the burden a destructive mutation carries.

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 one-sentence purpose and a 'send only what changes' instruction before the field-by-field detail. It is a dense single paragraph with a lot of parenthetical nesting, but essentially every clause carries distinct constraint information, so there is little pure waste.

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 an 8-parameter destructive mutation with no output schema, the description covers field semantics, clearing behavior, exclusivity rules and overwrite behavior, which is enough to invoke it correctly. It omits permission/ownership requirements (the 'account owner's note' phrasing hints at authorization without stating it) and any indication of what the call returns on success.

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% and the schema already documents clearing semantics, mutual exclusions, enums and length bounds, so the description largely restates it. The only added framing is that these are the same fields as the portal call-detail view and the PATCH /v1/calls/{id} endpoint, which is useful orientation but not new per-parameter meaning.

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?

The first clause states a specific verb and resource ('Set the account owner's note, flag, handled marker and rating on a call') and enumerates the exact fields in scope, so an agent can immediately tell this is a partial-update annotation tool rather than a read (get_call) or content-deletion tool. It never names a sibling or draws an explicit boundary against one, which keeps it short of a 5.

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?

'Send only the fields you want to change' gives clear partial-update guidance, and the mutual-exclusion rules (flagReason vs unflag, handled vs flagReason) tell the agent which combinations are invalid. It does not say when to prefer this tool over adjacent ones or what happens on validation failure, so it stops short of full when/when-not routing.

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.