Skip to main content
Glama
agent-intercom

agent-intercom

by ryul99

Count unread messages

unread_count

Counts unread messages addressed to the current session, optionally filtered by sender, to show whether new inter-agent messages need attention.

Instructions

Count unread messages addressed to this session, optionally filtered by sender.

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

Input Schema

NameRequiredDescriptionDefault
withNoOnly count messages from this session id/label/prefix/tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and mostly does not meet it. It never states that the operation is a non-destructive read, what it returns (an integer? zero when nothing is unread?), whether counts span all labels/tools, or any auth or rate-limit context. It only adds the scoping detail that messages must be addressed to this session.

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?

A single sentence with zero filler, and the core operation is front-loaded. It is arguably too terse for a tool with no annotations and no output schema, but there is no wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a trivial one-optional-param counting tool, the purpose is clear, but with no output schema the description should say that the result is a count value and how an empty result is represented. Behavior for the unfiltered default case is implied rather than stated.

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% and there is only one optional parameter, so the schema does the documentation work and a 3 is the baseline. The description's wording ("filtered by sender") is narrower than the schema's "session id/label/prefix/tool," which could lead an agent to avoid passing a label or tool prefix that is actually accepted.

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?

Uses a specific verb and resource ("Count unread messages") plus a scope ("addressed to this session"), which already distinguishes it from the list-oriented sibling "inbox." It stops short of naming that sibling explicitly, so the differentiation has to be inferred from the verb "count."

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 word "Count" plus the optional sender filter implies this is the lightweight alternative to listing messages in "inbox" or "history," but no alternative is named and there is no explicit when-to-use or when-not-to-use statement. For a simple one-purpose tool, the implied guidance is adequate but not directive.

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