Skip to main content
Glama
wildsurfer

your-mail-mcp

count

Counts emails matching a search query and returns the total number of results.

Instructions

Count the messages matching a query.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
accountNo
include_excludedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are present, and the description does not disclose whether the operation is read-only, has side effects, or requires specific permissions. Counting is typically non-destructive, but this is not stated, leaving uncertainty.

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?

The description is very brief and directly to the point. It lacks depth, but the structure is clean and not verbose, earning a middle-high score for conciseness.

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

Completeness2/5

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

The tool lacks an output schema and does not describe the return format or potential errors. The minimal description is insufficient for an agent to understand what the tool returns or how to handle edge cases.

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

Parameters2/5

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

The input schema lists three parameters (query, account, include_excluded) but provides no descriptions. The description does not explain their semantics, types, or expected values, so the agent has to infer meaning from names alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action is 'Count the messages matching a query,' but it does not specify the context (e.g., which message store or type) or how it differs from related tools like search. It is somewhat generic.

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?

No guidance is provided on when to use this tool versus alternatives. There is no mention of search, show, or other sibling tools, leaving the agent without direction on selection criteria.

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