Skip to main content
Glama

read_annotations

Retrieve all pending visual annotations submitted by users, including selector, comment, type, and metadata, to process feedback from the overlay.

Instructions

Read all pending visual annotation feedback. Each annotation includes a CSS selector, fallback selector chain (id → cssPath → contentHash), comment, annotation type (arrow/box/text/freehand/select/textsel), color, viewport position, and element metadata. Use this to consume user feedback after they press Submit in the overlay.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits on its own. It describes the data contents in detail, but uses the ambiguous phrase 'consume user feedback' without clarifying whether reading is destructive or marks annotations as no longer pending. Since 'clear_annotations' exists, reading is likely non-destructive, but the description fails to confirm this, creating uncertainty about side effects.

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?

The description is two sentences with no wasted words. The first sentence is dense, listing all the fields in a compact manner, while the second gives the usage timing. It could be structured with a list for readability, but it remains appropriately concise.

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

Completeness3/5

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

With no output schema, the description thoroughly enumerates the return structure (CSS selector, fallback chain, comment, type, color, viewport position, metadata), which provides strong coverage. However, it leaves the lifecycle of 'pending' annotations ambiguous and doesn't clarify whether reading has side effects. Given the low tool complexity, this omission prevents a higher score.

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?

There are zero parameters, making schema coverage 100%. The description adds context about what the read operation returns, which is the relevant semantic contribution when no parameters exist. Baseline for 0 params is 4.

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 'Read all pending visual annotation feedback' – a specific verb+resource pair. It then enumerates the annotation fields (selector, fallback chain, comment, type, color, viewport position, element metadata), clearly distinguishing it from the sibling 'clear_annotations' which focuses on removal.

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?

The final sentence provides an explicit usage trigger: 'Use this to consume user feedback after they press Submit in the overlay.' It does not explicitly state when not to use it, but with only one sibling (clear_annotations) the contrast is implied, and the timing criterion is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cc10143/annotation-overlay-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server