Skip to main content
Glama

Summarize what changed in a period

folio_digest
Read-onlyIdempotent

Summarize folder-wide changes since a date or over a week: documents created, changed, or removed with versions, plus embedded values before and after.

Instructions

Summarize what changed in the served folder over a period: every document created, changed or removed, with the versions it started and ended on, and every embedded value that moved, before and after. Use it for what changed this week or since a date across the whole folder, read or not; for what changed of what the reader read use folio_changes, and for one document's versions folio_history. Answers {from, to, documents: [{path, status: created, changed or removed, from, to: version ids folio_history takes}], values: [{document, reference, before, after, at}]}, times ISO 8601. A list cut to fit one answer adds omitted, the entries each list left out, and narrow, how to ask for less.

Input Schema

NameRequiredDescriptionDefault
toNoThe period's end, an ISO 8601 date or time as from is; default now
fromNoThe period's start, an ISO 8601 date or time such as 2026-11-02 or 2026-11-02T09:00:00+01:00 - a date alone is midnight UTC, a time without an offset UTC; default a day before to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety credit is partly pre-paid; the description earns its share by disclosing the response envelope, ISO 8601 time formatting, and a truncation contract (omitted counts plus a 'narrow' hint for requesting less) that annotations could never convey. It does not discuss cost or size limits quantitatively, so it falls short of a 5.

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?

Three sentences, front-loaded with the effect, then routing to siblings, then the return shape. It is dense — the second sentence packs the full object shape, status enum and FK relationship into one long clause — but nearly every clause carries information; only minor tightening is possible.

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?

There is no output schema, so the description must describe returns, and it does: documents with path/status/from/to and values with document/reference/before/after/at, plus truncation metadata. Combined with annotations, an agent has everything needed to call and interpret it.

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 coverage is 100%, including the date-vs-datetime parsing rules and defaults, so the schema already carries parameter meaning. The description only restates the period framing and ISO 8601 times, adding no new syntax or edge-case guidance beyond one example's spirit — appropriate baseline for full schema coverage.

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 states a specific verb and resource — summarizing everything created, changed or removed in the served folder, plus embedded values that moved — and immediately distinguishes itself from folio_changes (per-reader) and folio_history (single document versions). An agent can choose among the three without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit selection criteria ('what changed this week or since a date across the whole folder, read or not') and names both alternatives with the condition that picks them instead. Coverage of read vs. unread and whole-folder vs. per-reader scope removes the main ambiguity an agent would have.

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