Skip to main content
Glama

Count literature notes

count_literature_notes
Read-onlyIdempotent

Count how many literature notes (notes taken on books, articles and podcasts) the user has taken, optionally within a date range or period like this week, this month, this year, or all time. Returns the exact total.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoISO 8601 date, inclusive. Overrides period when given together with from.
fromNoISO 8601 date, inclusive. Overrides period when given together with to.
periodNoPredefined date range to count within (default all_time)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYesHow many there are, up to the cap
cappedYesTrue when there are at least this many and the real total may be higher
periodYesThe period counted, like this_month, or from..to for a date range

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world behavior, so the safety profile is fully covered. The description adds that it 'Returns the exact total' (as opposed to an estimate), which is useful context, but it says nothing about authorization, empty results, or error behavior. With annotations carrying the main burden, this is adequate but thin.

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?

One sentence, front-loaded with the verb and resource, with the optional filtering mentioned second. The parenthetical resource definition earns its place; slightly long but no wasted clauses.

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?

For a zero-required-parameter, read-only count tool with an output schema, the description covers the resource, the optional filters, and the nature of the return value. Nothing essential for correct invocation is missing, though alternatives are not addressed.

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%, including the note that 'to'/'from' override 'period' and that period defaults to all_time. The description adds nothing beyond the schema's parameter documentation, so the baseline 3 applies when the schema does all the work.

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 (count) and resource (literature notes) and even disambiguates the resource as 'notes taken on books, articles and podcasts', which separates it from the generic count_notes sibling. However, it never explicitly names or contrasts with the sibling tools, so differentiation is inferred rather than stated.

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 description explains the filtering options ('optionally within a date range or period like this week, this month, this year, or all time'), which implies when to supply each parameter. It gives no guidance on when to choose this tool over count_notes or count_drafts, nor any prerequisites, so 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources