Get campaign counts
emailchef_get_campaign_countsHow many campaigns the account has by state: drafts, sent, scheduled, archived, failed. GET /campaigns/count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
emailchef_get_campaign_countsHow many campaigns the account has by state: drafts, sent, scheduled, archived, failed. GET /campaigns/count.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered. The description adds the aggregation dimension (counts grouped by state) but says nothing about return format, auth requirements, or scope (whole account vs filtered), which is a modest gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence carries all the semantic content, with the state list attached as a compact enumeration. The trailing 'GET /campaigns/count' is near-redundant with the name and title but is harmless.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With zero params and no output schema, the description carries the burden of describing the return shape, and it does so by naming the five state buckets. It stops short of stating the response structure (e.g., a counts object keyed by state), which would fully close the gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes no parameters, so there is nothing for the description to disambiguate; baseline 4 applies. Schema coverage is 100% on an empty object.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('How many campaigns the account has by state') and enumerates the states returned, which separates it from the sibling emailchef_list_campaigns. It does not explicitly name the alternative, but the aggregate-vs-list distinction is evident.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: an agent can infer this is for summary/dashboard counts rather than fetching campaign records. There is no explicit when-to-use, when-not-to-use, or reference to emailchef_list_campaigns as the alternative.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.