Skip to main content
Glama

list_annotations

Read-onlyIdempotent

Lists a project's annotations, resolves condition IDs to finish tags, filters by sheet or condition, and surfaces unattached notes and verdicts for linking or review.

Instructions

A project's annotations, with condition_id RESOLVED to its finish tag so you can act on the reply without joining against conditions[]. Filter by sheet_id and/or condition (tag or id). unattached counts notes carrying no condition — the candidates for link_annotation. verdicts rides alongside, never inside: a seal is a verdict, not a note; both actors are reported but only agent rows are yours to delete_verdict. Also takes the open-source OpenTakeoff server's arguments (sheet): sheet keys or numbers, image px at render scale 2, finish tags.

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": "list_annotations"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetNoOnly annotations on this sheet
sheet_idNofilter to one sheet
conditionNofinish tag or condition id
project_idNoThe project to work on (list_projects names them). Optional for the open-source arguments: the project the last call named (load_plan makes one) is used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.0.23
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / condition / description
      Previous value: -"Only annotations attached to this finish tag"New value: +"finish tag or condition id"
    • addedInput schema / properties / project_id
      Added value: +{
      +  "description": "The project to work on (list_projects names them). Optional for the open-source arguments: the project the last call named (load_plan makes one) is used.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / sheet_id
      Added value: +{
      +  "description": "filter to one sheet",
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "annotations": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "at": {
      -            "additionalItems": false,
      -            "items": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "number"
      -              }
      -            ],
      -            "maxItems": 2,
      -            "minItems": 2,
      -            "type": "array"
      -          },
      -          "condition": {
      -            "description": "Resolved finish tag, or '' when unattached — saves joining against conditions[]",
      -            "type": "string"
      -          },
      -          "condition_id": {
      -            "type": "string"
      -          },
      -          "from": {
      -            "additionalItems": false,
      -            "description": "Arrow tail / dimension start (image px)",
      -            "items": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "number"
      -              }
      -            ],
      -            "maxItems": 2,
      -            "minItems": 2,
      -            "type": "array"
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "length_lf": {
      -            "description": "Dimension only: the measured length in real feet, snapshotted at annotate time from the sheet scale",
      -            "type": "number"
      -          },
      -          "r": {
      -            "description": "Bubble radius (image px)",
      -            "type": "number"
      -          },
      -          "rect": {
      -            "items": {
      -              "additionalItems": false,
      -              "items": [
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "number"
      -                }
      -              ],
      -              "maxItems": 2,
      -              "minItems": 2,
      -              "type": "array"
      -            },
      -            "type": "array"
      -          },
      -          "sheet": {
      -            "type": "string"
      -          },
      -          "target": {
      -            "additionalItems": false,
      -            "items": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "number"
      -              }
      -            ],
      -            "maxItems": 2,
      -            "minItems": 2,
      -            "type": "array"
      -          },
      -          "text": {
      -            "type": "string"
      -          },
      -          "text_resolved": {
      -            "description": "Only when text carries a {{qty}} field: the note as the sheet shows it, {{qty}} filled with the linked condition's measured quantity (multiplier applied, no waste)",
      -            "type": "string"
      -          },
      -          "to": {
      -            "additionalItems": false,
      -            "description": "Arrow head / dimension end (image px)",
      -            "items": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "number"
      -              }
      -            ],
      -            "maxItems": 2,
      -            "minItems": 2,
      -            "type": "array"
      -          },
      -          "type": {
      -            "type": "string"
      -          },
      -          "unresolved_fields": {
      -            "description": "Fields that could not fill (no linked condition, nothing measured yet, or an unknown name) — they stay literal and print in the warning ink; link_annotation fixes the first case",
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "sheet",
      -          "type",
      -          "text",
      -          "condition",
      -          "condition_id"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "count": {
      -      "maximum": 9007199254740991,
      -      "minimum": -9007199254740991,
      -      "type": "integer"
      -    },
      -    "unattached": {
      -      "description": "How many carry no condition — candidates for link_annotation",
      -      "maximum": 9007199254740991,
      -      "minimum": -9007199254740991,
      -      "type": "integer"
      -    },
      -    "verdict_count": {
      -      "maximum": 9007199254740991,
      -      "minimum": -9007199254740991,
      -      "type": "integer"
      -    },
      -    "verdicts": {
      -      "description": "Approval-family records (#176) under the same filters: sheet applies directly; a condition filter reaches a verdict THROUGH its target shape (a sheet-point mark carries no scope and drops out)",
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "actor": {
      -            "description": "\"estimator\" = the human APPROVED ring (ink — import-borne here, never minted over MCP), \"agent\" = the AGENT diamond",
      -            "enum": [
      -              "estimator",
      -              "agent"
      -            ],
      -            "type": "string"
      -          },
      -          "at": {
      -            "additionalItems": false,
      -            "description": "Render anchor (image px) — absent only when the record rides a sheet from a file this session hasn't loaded (#152)",
      -            "items": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "number"
      -              }
      -            ],
      -            "maxItems": 2,
      -            "minItems": 2,
      -            "type": "array"
      -          },
      -          "condition": {
      -            "description": "The targeted shape's finish tag, resolved — '' for sheet-point marks",
      -            "type": "string"
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "shape_id": {
      -            "description": "Present when the verdict targets a committed shape — WHAT was marked, not where it draws",
      -            "type": "string"
      -          },
      -          "sheet": {
      -            "type": "string"
      -          },
      -          "text": {
      -            "description": "The optional short note riding the record",
      -            "type": "string"
      -          },
      -          "ts": {
      -            "description": "ISO-8601 mint time",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "actor",
      -          "sheet",
      -          "condition"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "annotations",
      -    "count",
      -    "unattached",
      -    "verdicts",
      -    "verdict_count"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed18 schema fields changedv0.1.31
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / annotations / items / properties / at / additionalItems
      Added value: +false
    • addedOutput schema / properties / annotations / items / properties / from / additionalItems
      Added value: +false
    • addedOutput schema / properties / annotations / items / properties / rect / items / additionalItems
      Added value: +false
    • removedOutput schema / properties / annotations / items / properties / rect / items / anyOf
      Removed value: -[
      -  {
      -    "not": {}
      -  },
      -  {
      -    "items": [
      -      {
      -        "type": "number"
      -      },
      -      {
      -        "type": "number"
      -      }
      -    ],
      -    "maxItems": 2,
      -    "minItems": 2,
      -    "type": "array"
      -  }
      -]
    • addedOutput schema / properties / annotations / items / properties / rect / items / items
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "number"
      +  }
      +]
    • addedOutput schema / properties / annotations / items / properties / rect / items / maxItems
      Added value: +2
    • addedOutput schema / properties / annotations / items / properties / rect / items / minItems
      Added value: +2
    • addedOutput schema / properties / annotations / items / properties / rect / items / type
      Added value: +"array"
    • addedOutput schema / properties / annotations / items / properties / target / additionalItems
      Added value: +false
    • addedOutput schema / properties / annotations / items / properties / to / additionalItems
      Added value: +false
    • addedOutput schema / properties / count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / count / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / unattached / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / unattached / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / verdict_count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / verdict_count / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / verdicts / items / properties / at / additionalItems
      Added value: +false
  3. Changed2 schema fields changedv0.1.26
    • addedOutput schema / properties / annotations / items / properties / text_resolved
      Added value: +{
      +  "description": "Only when text carries a {{qty}} field: the note as the sheet shows it, {{qty}} filled with the linked condition's measured quantity (multiplier applied, no waste)",
      +  "type": "string"
      +}
    • addedOutput schema / properties / annotations / items / properties / unresolved_fields
      Added value: +{
      +  "description": "Fields that could not fill (no linked condition, nothing measured yet, or an unknown name) — they stay literal and print in the warning ink; link_annotation fixes the first case",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  4. Changed3 schema fields changedv0.1.12
    • addedOutput schema / properties / verdict_count
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / verdicts
      Added value: +{
      +  "description": "Approval-family records (#176) under the same filters: sheet applies directly; a condition filter reaches a verdict THROUGH its target shape (a sheet-point mark carries no scope and drops out)",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "actor": {
      +        "description": "\"estimator\" = the human APPROVED ring (ink — import-borne here, never minted over MCP), \"agent\" = the AGENT diamond",
      +        "enum": [
      +          "estimator",
      +          "agent"
      +        ],
      +        "type": "string"
      +      },
      +      "at": {
      +        "description": "Render anchor (image px) — absent only when the record rides a sheet from a file this session hasn't loaded (#152)",
      +        "items": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "number"
      +          }
      +        ],
      +        "maxItems": 2,
      +        "minItems": 2,
      +        "type": "array"
      +      },
      +      "condition": {
      +        "description": "The targeted shape's finish tag, resolved — '' for sheet-point marks",
      +        "type": "string"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "shape_id": {
      +        "description": "Present when the verdict targets a committed shape — WHAT was marked, not where it draws",
      +        "type": "string"
      +      },
      +      "sheet": {
      +        "type": "string"
      +      },
      +      "text": {
      +        "description": "The optional short note riding the record",
      +        "type": "string"
      +      },
      +      "ts": {
      +        "description": "ISO-8601 mint time",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "actor",
      +      "sheet",
      +      "condition"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "annotations",
      -  "count",
      -  "unattached"
      -]New value: +[
      +  "annotations",
      +  "count",
      +  "unattached",
      +  "verdicts",
      +  "verdict_count"
      +]
  5. Changed3 schema fields changedv0.1.11
    • changedOutput schema / properties / annotations / items / properties / from / description
      Previous value: -"Arrow tail (image px)"New value: +"Arrow tail / dimension start (image px)"
    • addedOutput schema / properties / annotations / items / properties / length_lf
      Added value: +{
      +  "description": "Dimension only: the measured length in real feet, snapshotted at annotate time from the sheet scale",
      +  "type": "number"
      +}
    • changedOutput schema / properties / annotations / items / properties / to / description
      Previous value: -"Arrow head (image px)"New value: +"Arrow head / dimension end (image px)"
  6. Changed3 schema fields changedv0.1.9
    • addedOutput schema / properties / annotations / items / properties / from
      Added value: +{
      +  "description": "Arrow tail (image px)",
      +  "items": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "number"
      +    }
      +  ],
      +  "maxItems": 2,
      +  "minItems": 2,
      +  "type": "array"
      +}
    • addedOutput schema / properties / annotations / items / properties / r
      Added value: +{
      +  "description": "Bubble radius (image px)",
      +  "type": "number"
      +}
    • addedOutput schema / properties / annotations / items / properties / to
      Added value: +{
      +  "description": "Arrow head (image px)",
      +  "items": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "number"
      +    }
      +  ],
      +  "maxItems": 2,
      +  "minItems": 2,
      +  "type": "array"
      +}
  7. Addedv0.1.6

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: verdicts ride alongside but never inside annotations, a seal is a verdict not a note, and both actors are reported yet only agent-authored rows may be passed to delete_verdict. The prose is muddled, but the additional context is real.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Partial front-loading: the resource and the condition_id resolution come first. But the passage is dense and run-on, mixes return-shape details with cross-tool instructions, uses unexplained backticked field names, and spends a clause on the OpenTakeoff compatibility arguments that most callers will not need.

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?

There is no output schema, so the description must carry the return shape, which it only partly does by naming `unattached` and `verdicts` and explaining condition_id resolution. It never describes the annotation object itself (geometry, note text, author fields), leaving an agent unsure what a row actually contains.

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 baseline is 3. The description does add a little beyond the schema by clarifying that `condition` accepts either a finish tag or an id and that `sheet` takes sheet keys or numbers (image px at render scale 2) for OpenTakeoff compatibility, but it omits any discussion of the project_id fallback behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource (a project's annotations) and a distinctive behavior (condition_id resolved to its finish tag so no join against conditions[] is needed), which is more than a tautology. But it is a noun phrase with no verb, and it never says how this differs from the sibling get_annotations, so an agent cannot cleanly separate the two from the text alone.

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?

Useful scoping cues are implied: filter by sheet_id and/or condition, and the note that `unattached` yields 'the candidates for link_annotation' tells an agent what to do next with that field. However, guidance is about downstream tools rather than this tool's selection, and there is no explicit when-to-use / when-not-to-use versus get_annotations or list_inbox.

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

Deploy Server

Other Tools