Skip to main content
Glama

Write an email that answers theirs

magpie_counter_email
Read-only

A competitor's latest marketing emails with the offer read from each, how often it emails and how often with a discount, and this account's own store beside it. Use it when asked to write an email, subject line or campaign in answer to what a competitor is sending its subscribers.

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

Input Schema

NameRequiredDescriptionDefault
storeNoThe competitor: its name, web address or id. Left out, Magpie picks the one the request most likely means.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.2/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 covered. The description adds useful content context — the offers parsed from each email, sending frequency, discount frequency, and the account's own store alongside — which goes beyond the annotations. However, it omits the time window, how many emails are returned, and any output shape, so it is only a moderate addition.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Two sentences, but the first is a long awkward noun phrase ('with the offer read from each, how often it emails and how often with a discount') that is grammatically tangled and not front-loaded with what the tool does. The second sentence is efficient and earns its place, but the lead-in should have been the action/return summary.

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?

For a single-parameter, annotation-covered read tool with no output schema, the description covers what data comes back and the triggering request. It still leaves the agent guessing about recency window, result volume, and how the two sides (competitor vs. own store) are presented, which matters for a 'counter-campaign' workflow.

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 the single 'store' parameter already documents that Magpie picks a likely competitor when omitted. The description's 'A competitor's ... and this account's own store beside it' hints at the comparison output but adds no syntax, identifier format, or override detail beyond the schema. Baseline 3 applies.

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 names the resource (a competitor's recent marketing emails, offer/discount cadence, plus the account's own store for comparison) but never uses a clear verb about what the tool actually does — fetch vs. draft. The title says 'Write an email' while the body describes data retrieval, so an agent must infer that this returns source material rather than composing anything. It is distinguishable from siblings in substance but not explicitly differentiated from tools like magpie_emails.

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

Usage Guidelines4/5

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

There is an explicit trigger: 'Use it when asked to write an email, subject line or campaign in answer to what a competitor is sending its subscribers.' That tells the agent the request shape that selects this tool. It does not name an alternative (e.g., magpie_emails for plain email listing) or state when not to use it, so it falls short of a 5.

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