Skip to main content
Glama

A store's ads

magpie_ads
Read-only

One store's ads on Facebook and Instagram, grouped by message: the text, headline, when it started, how many ads carry it, and any discount or code it names. Running ads come first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "store_id": "<store_id>"
    },
    "name": "magpie_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return, at most 250. 100 when left out.
activeNotrue for ads running now, false for ads that have stopped. Both when left out.
offsetNoRows to skip. Use next_offset from the previous answer.
store_idYesA store's id, from magpie_stores.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a safe read (readOnlyHint true, destructiveHint false), so the bar is lower. The description still adds real behavioral context beyond them: results are grouped by message and running ads are returned first, which shapes how the agent should parse and present the output. It omits pagination mechanics, but the schema's offset/next_offset note covers that.

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 dense sentence that front-loads the resource scope and then the returned fields without wasted wording. It is efficient, though the field enumeration is packed into one clause rather than structured as a list.

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?

Given four fully documented parameters, a simple read-only profile, and no output schema, the description does the necessary extra work of explaining the grouping, field set, and ordering. An agent has enough to call it correctly and interpret the response, with only minor gaps around pagination behavior that the schema already covers.

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%, with limit, active, offset, and store_id all documented inline including defaults and the next_offset convention. The description adds no further parameter meaning, so the baseline 3 applies.

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?

The description names a specific resource (one store's ads on Facebook and Instagram) and enumerates what each record carries (text, headline, start date, ad count, discount/code), so an agent knows exactly what comes back. It stops short of explicitly distinguishing this from siblings like magpie_ad_angles, but the scope is concrete enough to be actionable.

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?

Usage is only implied: the store-scoped framing tells the agent it needs a store_id, and 'Running ads come first' hints at result ordering. There is no explicit when-to-use guidance or comparison to related tools such as magpie_ad_angles, leaving the agent to infer the selection criteria.

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