Skip to main content
Glama

Add a week of AI answers to a tracker

add_round
DestructiveIdempotent

Call this to record one week of AI answers on a tracker, after create_tracker has returned its brand_id (never in the same step). Pass brand_id and answers: one item per tracked prompt and engine, each with prompt_id (such as p1), engine (such as openai, perplexity, google-ai-mode, claude), the answer text and its source links. week defaults to this ISO week; sending a week again replaces that week. Returns the scored round: mention share and citation share, split by engine and buyer prompt, with rivals, cited sites and a fix list. It scores pasted answers and never asks an engine. Errors: api_key_required, subscription_required (no tracker access), owner_only for a seat's key, brand_not_found, and invalid_input naming the prompt ids to use.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "week": "2026-W42",
      "answers": [
        {
          "links": [
            "https://acme.com/agencies",
            "https://www.g2.com/categories/crm"
          ],
          "answer": "Acme CRM and HubSpot both suit a small agency.",
          "engine": "openai",
          "prompt_id": "p1"
        },
        {
          "links": [
            "https://hubspot.com/pricing"
          ],
          "answer": "HubSpot has a free plan.",
          "engine": "openai",
          "prompt_id": "p2"
        }
      ],
      "brand_id": "brand_0a1b2c3d4e5f6a7b"
    },
    "name": "add_round"
  }
}

Input Schema

NameRequiredDescriptionDefault
weekNoThe ISO week the answers belong to, such as 2026-W42. Default: this week. Sending a week again replaces that week's round.
answersYesOne item per answer an AI engine gave to a tracked prompt: {prompt_id, engine, answer, links}. One answer per prompt and engine.
brand_idYesThe tracker id that create_tracker returned, such as brand_0a1b2c3d4e5f6a7b. Wait for create_tracker's answer to get it.

Output Schema

NameRequiredDescriptionDefault
weekYes
reportYes
brand_idYes
next_stepYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already flag destructiveHint=true and idempotentHint=true, but the description adds the reason: re-sending a week replaces that week's round, which explains both hints concretely. It also enumerates failure modes by name (api_key_required, subscription_required, owner_only for a seat's key, brand_not_found, invalid_input). Not a 5 only because the replacement is described but the blast radius of an overwrite on prior scored data isn't spelled out.

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?

Everything is front-loaded: the action, the dependency, the payload shape, the return, then errors. No sentence is filler, though the body is one dense run-on block rather than being broken into scannable segments, which slightly hurts readability at this length.

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

Completeness5/5

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

For a mutation tool with a nested-array payload, the description covers the dependency on create_tracker, the idempotent-replace behavior, the return summary (mention share, citation share, rivals, fix list), and a named error list. Since an output schema exists, it need not detail return structure, and it doesn't.

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 earns an extra point by adding cross-field meaning the schema does not: one item per tracked prompt and engine, with engine examples (openai, perplexity, google-ai-mode, claude) and the default-week behavior. It does not clarify when to use prompt_id versus the optional prompt text field, which the schema leaves as a subtlety.

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?

The description opens with a specific verb and resource ("record one week of AI answers on a tracker") and immediately distinguishes itself from the creation step by requiring create_tracker's brand_id. It also clarifies a subtle scope point, that it scores pasted answers rather than querying an engine, which separates it from engine-fetching expectations and from the score_answer_share sibling.

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 gives an explicit sequencing rule ("never in the same step" as create_tracker) and the precondition that brand_id must already exist. It also explains re-send semantics ("sending a week again replaces that week"). It stops short of naming when to prefer the sibling score_answer_share instead, which is the one remaining routing gap.

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.