Skip to main content
Glama

add_annotation

Add a manual timeline annotation to a client's AI-visibility project — a dated note that pins onto the charts so metric movements come with their explanation. By default the note is internal (team-only); set showInReports:true to make it visible on shared report charts too. Requires MCP write actions; without confirm:true it returns a preview.

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": {
      "text": "<text>"
    },
    "name": "add_annotation"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoISO date the event happened (e.g. "2026-09-01") — backdating is the normal case. Defaults to today.
textYesThe note (max 500 characters).
confirmNoSet true to apply. Omit for a preview. With confirm:true, also pass the preview's previewToken.
clientIdNoClient id (from list_clients) — uses the AI-Visibility project its Overview opens in the app (the newest).
projectIdNoAI-visibility project id — alternative to clientId.
previewTokenNoWith confirm:true: the previewToken from this tool's preview (valid 15 minutes, once, for exactly the previewed arguments).
showInReportsNotrue → visible on shared report charts (visibility "shared"). Default false → internal, team-only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare non-read-only, non-destructive, open-world; the description adds real behavioral facts: MCP write-action requirement, a preview/confirm two-step that returns a preview without confirm:true, and a default private visibility that can be widened. These are consequences an agent would otherwise discover only by calling.

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?

Three dense sentences with the core action front-loaded, followed by the two behavioral defaults (visibility, preview) that most affect correct invocation. No filler or restatement of the title.

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 a 7-parameter mutation with no output schema, the description covers the write-gating, preview return behavior, and visibility default, which are the main unknowns. Complete enough to call correctly, though it does not describe what a successful apply returns.

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 earns an extra point by supplying intent behind two flags — default internal vs. shared visibility for showInReports and the preview-then-confirm flow for confirm. It still defers all per-field detail (date backdating, previewToken lifetime) to the schema.

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?

Uses a specific verb and resource ("Add a manual timeline annotation to a client's AI-visibility project") and immediately explains what the object is (a dated note pinned to charts). An agent can tell it is a write action on annotations rather than a widget, report, or client tool without opening the schema.

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?

Gives clear operational context: default visibility is internal, set showInReports:true for shared charts, and omitting confirm:true yields a preview rather than applying. It stops short of naming sibling alternatives or stating when NOT to annotate, but the conditional guidance is explicit.

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