Skip to main content
Glama

locus_get_annotations

Retrieve all labels and notes attached to a specific chunk to inspect its annotations and metadata.

Instructions

Return all labels and notes attached to a chunk.

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": {
      "chunk_id": "<chunk_id>"
    },
    "name": "locus_get_annotations"
  }
}

Input Schema

NameRequiredDescriptionDefault
chunk_idYes
store_pathNo.locus

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. "Return" implies a read-only operation, but it says nothing about whether the store must exist, what happens for an unknown chunk_id, or whether an empty result is an error – all of which matter for a lookup tool with a defaulted store_path.

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?

A single front-loaded sentence with no filler or redundancy. Its brevity is a virtue structurally, though the missing detail is penalized under other dimensions rather than here.

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

Completeness2/5

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

With no annotations, no output schema, and undescribed parameters, the definition leaves an agent guessing about the return shape (how labels versus notes are structured) and about store selection. For a two-parameter lookup whose results drive downstream reasoning, this is under-specified.

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 0% for two parameters, so the schema names them without explaining them. The description covers chunk_id only implicitly via "attached to a chunk" and adds nothing about the store_path default (".locus") or how a chunk_id is obtained, so compensation for the coverage gap is partial at best.

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 gives a specific verb ("Return") and a specific resource ("all labels and notes attached to a chunk"), which distinguishes a read of annotations from the write-side sibling locus_annotate and the reverse-lookup locus_chunks_with_label. It stops short of naming any sibling, so the differentiation is inferable rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance and no mention of alternatives or prerequisites. An agent must infer from the tool name that this is the read counterpart to locus_annotate, and nothing tells it whether this is the right call before or after listing chunks.

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