Skip to main content
Glama

Emails sent

magpie_emails
Read-only

The marketing emails the tracked stores sent, newest first: subject, preview, the discount, codes and free-shipping offer read from each, and its kind (welcome, campaign, cart, order, winback, confirm). Use it to see how often a competitor emails and what it offers 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_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD.
fromNoFirst day, YYYY-MM-DD.
kindNoOnly this kind of email.
limitNoRows to return, at most 250. 100 when left out.
offsetNoRows to skip. Use next_offset from the previous answer.
store_idNoOnly this store.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

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 and destructiveHint=false, so safety is covered. The description adds genuinely useful behavior beyond them: results are ordered newest first, and discount/code/free-shipping values are parsed out of each email rather than supplied directly. It says nothing about volume, deduplication, or freshness, which matters for a 'how often does a competitor email' workflow.

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?

Two sentences, front-loaded with the resource and ordering, followed by the payload enumeration and the use case. The field list is dense but each item conveys real return-shape information; only the parenthetical kind list feels redundant with the enum.

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?

With no output schema, the description carries the burden of describing return values, and it does so by naming the fields each email yields. All six parameters are schema-documented with defaults and next_offset guidance, so the only real gap is behavioral detail about volume and result freshness.

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%, so limit, offset, from/to, kind, and store_id are fully documented in the schema itself. The description merely echoes the kind taxonomy in the parenthetical list and implies date scoping through 'newest first'; it adds no syntax, default, or interaction detail beyond the schema.

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 the specific resource (marketing emails sent by tracked stores) and enumerates the returned fields: subject, preview, discount, codes, free-shipping offer, kind. That is far more specific than a name restatement, but it never contrasts itself with nearby siblings such as magpie_counter_email, so sibling differentiation is left implicit.

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 closing sentence gives one concrete use case (gauge email frequency and subscriber offers), which implies when to reach for it. It offers no exclusions, prerequisites, or explicit alternative tools, so an agent choosing between this and other email-related siblings gets no routing help.

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