Skip to main content
Glama

Recalculate Notification Overview

notification_recalculate
Idempotent

Re-sync notification overview counts from disk to correct cache drift after bulk changes. Use it when overview counts disagree with the notification list; it updates only cached counts.

Instructions

Re-syncs the notification overview counts from disk (corrects cache drift after bulk changes). Returns the refreshed counts. Use it when notification_overview disagrees with notification_list; it rewrites only the cached counts, never a notification. To just read the counts use notification_overview.

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

Input Schema

NameRequiredDescriptionDefault
response_formatNo`detailed` returns full JSON instead of readable text.concise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.3
    • addedInput schema / properties / response_format / description
      Added value: +"`detailed` returns full JSON instead of readable text."
  2. First observedv0.1.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, but the description adds the crucial scope of the write: 'it rewrites only the cached counts, never a notification.' That tells the agent exactly what is mutated and what is safe, which annotations alone cannot convey. It stops short of disclosing cost, duration, or whether a concurrent re-sync is safe, so not 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, each doing distinct work: what it does, what it returns, when to use it, what it will not touch, and which sibling to prefer. The mutation-scope caveat is placed before the alternative, front-loading the risk-relevant fact.

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?

No output schema exists, and the description explicitly states the return ('Returns the refreshed counts'), so the return value is covered. For a zero-required-parameter maintenance tool with full annotation coverage, nothing an agent needs in order to call it correctly is missing.

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?

There is a single optional parameter with 100% schema coverage, including the enum and the meaning of 'detailed'. The description adds nothing about response_format, so the baseline of 3 applies — the schema does all the work here.

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 ('Re-syncs the notification overview counts from disk') plus the condition it repairs ('cache drift after bulk changes'). It is clearly separable from notification_overview (read-only counts) and notification_list (per-notification data) without opening either 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 an explicit trigger ('when notification_overview disagrees with notification_list') and an explicit counter-case with the named alternative ('To just read the counts use notification_overview'). No inference is required to choose between the two.

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