Skip to main content
Glama

Library Digest

library_digest
Read-onlyIdempotent

Summarizes the library for a period: how many items were saved and opened, how many are still unread, the most used tags, and a short list of unread highlights. Every count covers the period (dates are UTC; date-only and zoneless values are UTC, pass offset like -08:00 for local days; a tag filter narrows it further). Read-only and compact: 'truncated' says a list or a string was cut. Use it for a recap ('what did I save last week'); use list_items or reading_history for the items themselves.

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

Input Schema

NameRequiredDescriptionDefault
tagNoRestrict the digest to items carrying this tag (child tags count).
sinceNoISO date/datetime (inclusive): only saves and opens at/after it. saved_at is UTC; date-only (YYYY-MM-DD) and zoneless values are read as UTC (date-only starts at 00:00:00 UTC). Callers should pass an offset (e.g. -08:00) for local days.
untilNoISO date/datetime (inclusive): only saves and opens at/before it. saved_at is UTC; date-only (YYYY-MM-DD) and zoneless values are read as UTC (date-only covers through 23:59:59 UTC). Callers should pass an offset (e.g. -08:00) for local days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 the description goes further by explaining the 'truncated' flag that signals cut lists or strings, plus the UTC counting rule and tag-filter interaction. It doesn't say what default period applies when since/until are omitted, or how many 'most used tags' are returned, which is the main remaining behavioral gap.

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?

Purpose and output list are front-loaded, then constraints, then sibling routing — a sensible order. The long UTC parenthetical duplicates the schema text and is the one portion that could be trimmed without loss.

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?

With no output schema, the description does the necessary work of enumerating the returned sections and explaining the 'truncated' marker. The unspecified default time window when no dates are passed is the notable omission for a recap tool that works with zero required parameters.

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 UTC and offset guidance in the description largely restates the schema. The only addition is that a tag filter narrows every count, which is marginal beyond what the parameters already document; baseline 3 applies.

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?

States a specific verb and resource ('summarizes the library for a period') and enumerates the exact outputs: saved/opened counts, unread count, top tags, unread highlights. Explicitly contrasts with list_items and reading_history, so an agent can route to it without opening another 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?

Gives a concrete use case ('what did I save last week') and names the alternatives to use instead when the agent wants the items themselves (list_items, reading_history). The read-only/compact nature is stated up front so the agent knows it is a cheap recap call.

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.