Skip to main content
Glama

Add a marker

add_marker

Notes something the owner did, or has planned, on a day ("I sent the newsletter today", "my Instagram post about the workshop went out on the 12th", "we launch tomorrow at 9:01"), so it shows on the visitors curve and can be compared with the days before. Give time to place it at an hour, before the moment or after it. Without time, a marker for today takes the moment of this call, and one for another day stands at the start of that day. Only add what the user tells you; never invent a marker to explain a bump.

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": {
      "site": "<site>",
      "label": "<label>"
    },
    "name": "add_marker"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNoThe day, YYYY-MM-DD in the site's timezone. It can be in the future. Default: today.
urlNoA link to the publication, if any.
siteYesThe site: its domain (example.com), its id, or its public id. See list_sites.
timeNoThe hour, HH:MM on 24 hours in the site's timezone, e.g. 09:01.
labelYesA few words, in the user's language: what happened.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / day / description
      Previous value: -"The day it happened, YYYY-MM-DD in the site's timezone. Default: today."New value: +"The day, YYYY-MM-DD in the site's timezone. It can be in the future. Default: today."
    • addedInput schema / properties / time
      Added value: +{
      +  "description": "The hour, HH:MM on 24 hours in the site's timezone, e.g. 09:01.",
      +  "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (non-read-only, non-idempotent, non-destructive), the description discloses placement behavior: with `time` the marker sits at that hour, without it today's marker takes the call moment and another day's marker sits at the start of that day. It also states the visible effect (shows on the visitors curve). It stops short of saying whether repeated calls create duplicate markers or what the 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first clause, examples are compact, and the two behavioral rules about `time` and inventing markers follow in order of importance. Three parenthetical examples is slightly more than strictly needed but no sentence is wasted.

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 five-parameter mutation tool with full schema coverage and annotations, the description covers purpose, placement defaults, and the key safety guardrail. It omits duplication behavior and the returned shape, which is minor given there is no output schema but matters for a non-idempotent write.

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, and the description genuinely adds: it explains the default placement semantics of `time` versus its absence, which the schema does not. The phrase 'before the moment or after it' is a little ambiguous, but the added meaning is real.

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 description names a specific action and resource — recording something the owner did or planned on a given day so it appears on the visitors curve — and three concrete examples make the concept unmistakable. It does not, however, distinguish itself from the nearby add_marker_note sibling, so an agent must infer the boundary between a marker and a marker note.

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?

It clearly states the condition for use (the owner did or plans something worth comparing against prior days) and adds a negative guardrail: 'Only add what the user tells you; never invent a marker to explain a bump.' No alternatives are named, so there is no explicit routing to update_marker or add_marker_note.

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