Skip to main content
Glama

Get DOF note

dof_get_note
Read-onlyIdempotent

Retrieve a single DOF publication as plain text and page through long notes by passing the returned offset value when more content is available.

Instructions

Returns one DOF publication with its content as plain text. Long notes are paged: when nextOffset is present, call again with offset=nextOffset for the rest.

Input Schema

NameRequiredDescriptionDefault
idYesNote id from dof_daily_summary
offsetNoCharacter offset into the text
maxCharsNoMaximum characters of text to return

Output Schema

NameRequiredDescriptionDefault
idYes
dateYes
pageYes
textYes
titleYes
branchYes
hasDocYes
hasPdfYes
offsetYes
sourceYes
editionNo
sectionYes
citationYesCitation in the format SIDOF's legal notice requires when reproducing the text
nextOffsetNo
provenanceYesSIDOF URL the data came from, fetch time (UTC) and SHA-256 of the raw response
totalCharsYes
officialUrlYes
organizationsYes
contentTooLargeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare this as a safe, idempotent read operation, and the description adds useful behavioral detail about plain-text content and continuation via nextOffset. It does not cover permissions or rate limits, but those are not essential here given the annotation coverage.

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?

Two short sentences carry the core purpose first and the paging instruction second. There is no wasted text, and the most important calling behavior is front-loaded.

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?

The tool has an output schema and rich annotations, so the description need not explain return shape or safety profile. It adequately covers purpose and pagination, with only minor gaps such as not mentioning maxChars truncation behavior in the prose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 adds real meaning beyond the schema by connecting the output field nextOffset to the offset parameter for paging, though maxChars remains documented only in the schema.

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

Purpose4/5

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

The description states a specific verb and resource: it returns one DOF publication with content as plain text. It is clear what the tool does, but it does not explicitly differentiate itself from siblings such as dof_daily_summary or dof_get_indicators.

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 pagination guidance is explicit: when nextOffset is present, call again with offset=nextOffset. However, the description does not state when to choose this tool over its siblings or what prerequisite workflow should produce the note id, so broader usage is only implied.

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