Skip to main content
Glama

Read legislative source notes

get_source_notes
Read-onlyIdempotent

Use this to read the original legislative footnotes and source-note bodies for a held instrument, including preamble and annex notes. Omit note_key for the paginated inventory; supply an exact returned key to retrieve one. Keys retain source scope because printed markers may repeat. This tool does not infer ownership by a provision. Historical versions return an explicit version_not_served link.

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": {
      "instrument_id": "<instrument_id>"
    },
    "name": "get_source_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNotes per page, default 10; complete bodies are never truncated.
cursorNoContinue with the same arguments; bound to this corpus release.
note_keyNoExact key returned by this tool. Omit to list notes. Printed markers may be reused and are not necessarily unique keys.
version_idNoOmit or use current for the served version; pinned versions return an explicit version_not_served link.
instrument_idYesRegistry instrument id.

Output Schema

NameRequiredDescriptionDefault
dataYes
tierNo
errorYes
coverageYes
warningsYes
paginationYes
provenanceYes
derivationsYes
corpus_releaseYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / tier
      Added value: +{
      +  "enum": [
      +    "public",
      +    "licensed"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / instrument_id / pattern
      Previous value: -"^[a-z0-9]+(?:-[a-z0-9]+)*$"New value: +"^[A-Za-z0-9]+(?:[ ._-][A-Za-z0-9]+)*$"
  3. Changed7 schema fields changed
    • addedInput schema / properties / cursor / anyOf
      Added value: +[
      +  {
      +    "maxLength": 512,
      +    "pattern": "^[A-Za-z0-9_-]+$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / cursor / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedInput schema / properties / instrument_id / maxLength
      Added value: +64
    • addedInput schema / properties / instrument_id / pattern
      Added value: +"^[a-z0-9]+(?:-[a-z0-9]+)*$"
    • changedInput schema / properties / note_key / anyOf
      Previous value: -[
      -  {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 128,
      +    "minLength": 1,
      +    "pattern": "^[A-Za-z0-9*._-]+$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / version_id / anyOf
      Added value: +[
      +  {
      +    "maxLength": 64,
      +    "pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / version_id / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
  4. Changed6 schema fields changed
    • removedInput schema / properties / cursor / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / cursor / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / version_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / version_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / data / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "instrument_id": {
      -        "type": "string"
      -      },
      -      "items": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "instrument_id": {
      -              "type": "string"
      -            },
      -            "marker": {
      -              "type": "string"
      -            },
      -            "note_key": {
      -              "type": "string"
      -            },
      -            "text": {
      -              "type": "string"
      -            },
      -            "url": {
      -              "type": "string"
      -            },
      -            "version_id": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "instrument_id",
      -            "version_id",
      -            "note_key",
      -            "marker",
      -            "text",
      -            "url"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "next_cursor": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "total": {
      -        "type": "number"
      -      },
      -      "version_id": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "instrument_id",
      -      "version_id",
      -      "items",
      -      "total",
      -      "next_cursor"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "instrument_id": {
      +        "type": "string"
      +      },
      +      "items": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "instrument_id": {
      +              "type": "string"
      +            },
      +            "marker": {
      +              "type": "string"
      +            },
      +            "note_key": {
      +              "type": "string"
      +            },
      +            "text": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            },
      +            "version_id": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "instrument_id",
      +            "version_id",
      +            "note_key",
      +            "marker",
      +            "text",
      +            "url"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "next_cursor": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "total": {
      +        "type": "number"
      +      },
      +      "version_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "instrument_id",
      +      "version_id",
      +      "items",
      +      "total",
      +      "next_cursor"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / pagination / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "complete": {
      -        "type": "boolean"
      -      },
      -      "next_cursor": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "total": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "complete",
      -      "next_cursor"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "complete": {
      +        "type": "boolean"
      +      },
      +      "next_cursor": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "total": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "complete",
      +      "next_cursor"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  5. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds behavior beyond that: pagination via limit/cursor, the caveat that printed markers repeat so keys carry source scope, and that pinned historical versions return an explicit version_not_served link instead of data. Return-shape detail is left to the output schema.

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?

Five short sentences, front-loaded with purpose before mode mechanics, and no filler. A small amount of content duplicates schema text (omit note_key, version_not_served), which keeps it just under top marks.

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?

For a five-parameter read tool with a full output schema and strong annotations, the description covers everything an agent needs: both operating modes, pagination, key scoping, and the historical-version edge case. Return values need not be explained because the output schema handles them.

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 the baseline is 3. The description's notes on note_key omission and version_not_served largely restate what the schema descriptions already say, adding only the rationale that markers may repeat — marginal added meaning over the structured fields.

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-and-resource pair — reading original legislative footnotes and source-note bodies for a held instrument — and narrows the scope with 'including preamble and annex notes.' This distinguishes it from siblings such as get_provision or get_defined_term, which return provision or defined-term content rather than source notes.

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?

It gives explicit mode selection: omit note_key for a paginated inventory, or supply an exact returned key to retrieve one note. It also states a scope exclusion ('does not infer ownership by a provision'), which tells the agent what this tool will not answer. It stops short of naming a sibling alternative for that ownership question, which keeps it from a 5.

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