Skip to main content
Glama

context-add

Attach PM-provided notes, URLs, documents, research, survey results, or experiment feedback to a product so future AI analyses include the evidence and affected robots re-run with new context.

Instructions

Attach a piece of PM-provided context to a product. Context entries feed future analyses — robots see them alongside interview answers.

Types: note — ad-hoc note or observation url — a link with optional commentary document — a longer writeup (stored as its own file in context/documents/) analyst-report — third-party research report pasted as text research — external user research (interview transcripts, persona studies, etc.) survey-result — results from user surveys or questionnaires experiment-feedback — feedback from A/B tests, prototype testing, or multivariate experiments

Notes and URLs are appended to notes.md. Documents, analyst reports, research, survey results, and experiment feedback are saved as individual markdown files in context/documents/.

IMPORTANT: Adding research, survey-result, experiment-feedback, or analyst-report entries will automatically mark affected robots as stale so they re-run with the new evidence on the next invocation.

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": {
      "productSlug": "<productSlug>",
      "type": "<type>",
      "title": "<title>",
      "content": "<content>"
    },
    "name": "context-add"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesContext entry type
titleYesShort human-readable title for this entry
sourceNoOriginal source URL or attribution
contentYesThe note body, URL, or document contents
productSlugYesProduct slug to attach context to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.1

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses storage destinations (notes.md for note/url, individual markdown files in context/documents/ for the rest) and a non-obvious side effect — that research, survey-result, experiment-feedback, and analyst-report entries automatically mark affected robots stale. Gaps remain around reversibility, duplicate handling, and failure modes, but the key state-changing consequence is surfaced prominently.

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?

Purpose is front-loaded, then types, then the side-effect warning in a clearly marked IMPORTANT block — a logical order for an agent scanning it. The seven-line type list is long but each line is a distinct enum member that needs explaining, so little is wasted; only minor tightening is possible.

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 no annotations and no output schema, the description covers the essentials: what gets created, where it lands, and the robot-staleness consequence. It does not state what a successful call returns or whether repeated entries are deduplicated, but nothing critical to calling it correctly is missing.

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 above that by giving each of the seven enum values a distinct meaning plus a storage consequence, which the schema's bare 'Context entry type' does not. It still says nothing about productSlug resolution or how source interacts with the url type.

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: 'Attach a piece of PM-provided context to a product', and immediately frames the downstream purpose ('robots see them alongside interview answers'). It does not, however, distinguish itself from the sibling add-research or feedback tools, which an agent could plausibly confuse given the 'research' and 'experiment-feedback' types here.

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?

The enumeration of seven types with one-line definitions effectively tells an agent which variant to pick, which is real guidance. But there is no explicit when-to-use versus when-not-to-use, and no routing to the sibling add-research or feedback tools that overlap with the 'research' and 'experiment-feedback' types.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.