Skip to main content
Glama

Social media studio

Get Unread Notification Count

get_unread_notification_count
Read-only

Get the count of unread notifications, optionally by category

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

Input Schema

NameRequiredDescriptionDefault
categoryNoOptional notification category filter

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=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds the meaningful semantic that only unread items are counted, but says nothing about whether archived or muted notifications are excluded, how the count relates to the optional category filter, or pagination/limits. With annotations carrying most of the burden, this is an adequate 3.

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?

A single eleven-word sentence with the operation front-loaded and the optional modifier trailing. No redundant restatement, no filler, nothing to cut.

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 trivial read-only counter, annotations cover the safety profile and the schema covers the single parameter. The one gap is that there is no output schema, so the description could have stated that the result is an integer count (and what zero means), but that omission is minor at this complexity level.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only one optional parameter and 100% schema description coverage, the schema already documents 'category' fully as an optional notification category filter. The description contributes the word 'optionally', confirming that omitting it yields the total unread count — a small but real addition. Baseline 3 is exceeded only marginally, hence 4.

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 specific verb and resource — retrieving a count of unread notifications — which is unambiguous and clearly distinct from siblings such as mark_notification_read or archive_notification. It stops short of naming or contrasting any sibling explicitly, so it lands at a clear-but-undifferentiated 4.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing says whether this is for badge display, polling, or pre-fetching before listing notifications, and no conditions or exclusions are given. The only usage hint is the phrase 'optionally by category', which describes a parameter rather than a usage decision.

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