Skip to main content
Glama

Crea una anotación

create_annotation

Crea una anotación. Nota de hasta 140 caracteres en una fecha de la gráfica. Máximo 500 por web (409 annotation_limit).

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>",
      "date": "<date>",
      "text": "<text>"
    },
    "name": "create_annotation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId de la web (campo `id` de `/v1/sites`).
dateYesDía de la anotación (AAAA-MM-DD).
textYesHasta 140 caracteres.
idempotency_keyNoOpcional. Un reintento con el mismo valor devuelve la misma respuesta sin repetir la escritura.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already set readOnlyHint=false and destructiveHint=false, so safety is covered; the description goes further by disclosing a hard quota (500 per web) and the exact failure mode (HTTP 409, `annotation_limit`). That quota/error disclosure is genuinely useful behavior the annotations do not carry. It stops short of mentioning auth requirements or what a successful response contains.

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?

Three short sentences, tightly front-loaded: what it is, the size/placement constraint, then the quota and error code. The opening sentence largely restates the tool name and title, but the remaining sentences all earn their place.

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 four-parameter create tool with no output schema, the definition covers the important call-time facts: character limit, date placement, per-site cap, and the 409 error code. Only return-value shape and permission requirements are absent, which are minor given the schema is fully documented.

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 all four parameters (including the optional idempotency_key) are already documented. The description only echoes the 140-character limit already present in the schema and adds no new parameter meaning, which is the expected baseline when the schema does the work.

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 ('Crea una anotación') and clarifies the domain object: a short note tied to a date on the chart. That distinguishes it from list_annotations and delete_annotation, though no sibling is named explicitly.

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?

Usage is implied by the definition of what an annotation is (a dated note on the chart), but there is no explicit 'use this when' or any exclusion against alternatives such as updating a site or creating a goal. The agent can infer purpose but gets no routing guidance.

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