Skip to main content
Glama

WritersLogic agent-infra

footnote-attach

Attach footnote texts to their in-text markers from page layout coordinates — Given footnote markers (label, page, x, y) and footnote texts (label, page, x, y) extracted from a laid-out document, pairs each marker with its note by label and page, pairing repeated labels on one page in reading order, optionally letting a note continue on the next page, and reports unattached markers, orphan notes, ambiguous groups (different counts for the same label) and notes placed above

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": {
      "markers": "<markers>",
      "notes": "<notes>"
    },
    "name": "footnote-attach"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesYes
yAxisNoDirection of increasing y: down (PDF.js, screen) or up (PDF user space). Default down.
markersYes
allowNextPageNoA note may sit on the page after its marker. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources