Skip to main content
Glama

Get annotation

get_annotation
Read-only

Retrieve a single annotation including its page, target element selectors, styles, surrounding DOM, and runtime console/network diagnostics for complete debugging context.

Instructions

Fetch one annotation with its full captured context: page, target element (selector, XPath, styles), surrounding DOM, and runtime diagnostics (console + network).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
annotation_idYesThe id of the annotation to fetch.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
domNo
pageNo
typeNo
titleNo
statusNo
elementNo
page_urlNo
priorityNo
selectorNo
created_atNo
page_titleNo
project_idNo
updated_atNo
descriptionNo
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description adds value by detailing the captured context (page, element selectors, DOM, diagnostics), which is beyond the safety profile alone.

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?

The description is a single, tightly packed sentence that front-loads the action 'Fetch' and efficiently lists the returned context without any redundant words or repetitive information.

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?

Given the presence of read-only annotations, a complete input schema, and an output schema, the description fully covers the tool's purpose and return content, leaving no significant gaps for an agent to correctly select and invoke it.

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 coverage is 100% with the annotation_id parameter clearly described in the schema; the description does not add further parameter-specific semantics, so the baseline of 3 applies.

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 uses a specific verb and resource ('Fetch one annotation') and enumerates the included context components (page, selector, XPath, styles, DOM, runtime diagnostics), which clearly distinguishes it from list_annotations and other sibling tools.

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 description implies usage for retrieving a single annotation's full context, which is clear, but it does not explicitly contrast with alternatives like list_annotations or get_annotation_analysis, so no explicit exclusions are provided.

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/UseVynix/vynix-mcp'

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