Skip to main content
Glama

Extract Annotation Locations Table

get_annotation_locations
Read-onlyIdempotent

Extract all highlights/boxes and passages across one or multiple Quick Annotation PDFs and/or Auto-Cite/Medical QC project references in a single fast batch call, returning a formatted Markdown table + structured rows rendered in the user's active style (plus diagnostics for scanned pages, printed vs. PDF page numbers, and unsupported markups).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_annotation_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNoOptional Auto-Cite or Medical QC project ID to extract reference/claim locations from.
source_modeNoExtract raw PDF markups, saved project claim evidence highlights, or both.
document_idsNoOne or more Quick Annotation encoded document_ids.
style_overrideNoOptional non-destructive style preview without saving to the account.
project_file_idsNoOptional subset of project_file_ids when project_id is provided.
reference_numbersNoOptional map of document_id/file_id to constant reference number (1–1000) when using CONSTANT styles across multiple references.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: results are rendered in the user's active style, and diagnostics are returned for scanned pages, printed vs. PDF page numbers, and unsupported markups — useful for interpreting partial results. It stops short of stating limits on batch size or failure behavior.

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?

It is a single dense sentence, but the core action and scope are front-loaded and the trailing parenthetical is genuinely informative rather than filler. Slightly heavy packing of three ideas (sources, output format, diagnostics) into one sentence keeps it from a 5.

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?

With six parameters, nested objects, and no output schema, the description correctly compensates by describing the return shape (Markdown table, structured rows, diagnostics). What remains thin is how the three source_mode paths differ in output, but overall an agent has enough to call it correctly.

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 100%, so every parameter including the nested style_override object is already documented in the schema. The description only reinforces the multi-document/batch nature and style rendering, adding no syntax or format detail beyond the structured fields. Baseline 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 names a specific verb ('Extract') and resource ('all highlights/boxes and passages') and scopes it across two distinct source families (Quick Annotation PDFs and Auto-Cite/Medical QC project references). It also states the output shape (Markdown table plus structured rows), which lets an agent distinguish it from sibling readers like get_reference_passages or list_project_claims.

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 phrase 'in a single fast batch call' implies this is the batched extraction path, and the source coverage hints at when it applies. However, there is no explicit when-to-use vs. when-not guidance and no named alternative for narrower single-source reads, so the agent must infer routing from the sibling list.

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.

Resources