Skip to main content
Glama

Count notes

count_notes
Read-onlyIdempotent

Count how many insights (notes) the user has created, 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.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds only the claim that it 'Returns the exact total', useful versus an estimated count but thin; no pagination, auth, or scoping caveats are given.

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 sentences, zero waste, with the core action front-loaded and the optional filtering qualifier placed after it. Nothing redundant or padded.

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 an output schema present and 100% schema coverage plus full annotations, the description need not cover return values or safety. It is nearly complete, missing only sibling differentiation among the several count_* tools.

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 restates the period values already enumerated in the schema and does not explain the precedence rule (from/to overriding period) that the schema itself encodes, adding no meaning beyond it.

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?

States a clear verb+resource ('Count how many insights (notes)') and names the scope options. However, it never distinguishes itself from sibling counters like count_literature_notes or count_drafts, so an agent must infer which counter applies to which note type.

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?

Implies usage through the optional date-range/period framing, but gives no explicit when-to-use or when-not-to-use guidance, nor any routing to alternative tools such as list_recent_notes or count_literature_notes. Adequate but with a clear gap.

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