Skip to main content
Glama
Shopify Admin MCP Server

Shopify Admin MCP Server

get_marketing_activity

Retrieve detailed information about a single marketing activity, including UTM parameters and budget.

Instructions

Get detailed information about a single marketing activity, including UTM parameters and budget.

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": {
      "id": "<id>"
    },
    "name": "get_marketing_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe marketing activity ID (gid://shopify/MarketingActivity/...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the kind of data returned (UTM parameters and budget), which is useful, but says nothing about permissions, error behavior when the ID is invalid or missing, or the completeness of the returned payload; "including" suggests the field list is partial.

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?

One front-loaded sentence with no filler; the resource and the notable return fields appear immediately. The only weakness is the slightly vague "detailed information" framing.

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 one-parameter read tool this is close to adequate, and naming UTM parameters and budget partially compensates for the absent output schema. However, without an output schema the description should say more about the returned record shape or failure modes to be fully complete.

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?

The single parameter has 100% schema coverage, including the gid://shopify/MarketingActivity/... format, so the schema does the heavy lifting. The description adds no meaning beyond it (no note on ID sourcing or format expectations), which is the baseline for high-coverage schemas.

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 a specific verb ("Get") and resource ("a single marketing activity"), and the word "single" signals it fetches one record rather than a list, which implicitly separates it from the plural get_marketing_activities sibling. It never names that sibling or any other alternative explicitly, so differentiation is only implied.

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 agent can infer this tool is for fetching one activity once it has an ID. There is no explicit statement of when to use this versus get_marketing_activities, nor any prerequisite about where the ID comes from.

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