Skip to main content
Glama
rushikeshmore

Shopify Partner Agent

get_referral_revenue

Track referral revenue from merchant referrals for any period (7d, 30d, 90d, 1y, or custom). Retrieve total revenue, referral count, previous-period comparison, and individual referral details.

Instructions

Track referral revenue from merchant referrals to Shopify.

Args: period: '7d', '30d', '90d', '1y', or custom range.

Returns: JSON string with total referral revenue, count, previous period comparison, and individual referral details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNo90d

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the burden. It discloses that the output is a JSON string with specific fields (total revenue, count, comparison, details) and period options, which adds useful behavioral context. However, it does not explicitly mention read-only status, data freshness, or custom range format.

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

Conciseness5/5

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

The description is concise and well-structured with purpose, args, and returns sections. Every sentence provides value with no redundancy.

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?

For a simple one-parameter tool with an output schema, the description is nearly complete: it states purpose, parameter options, and return composition. Minor gaps like custom range syntax or timezone handling prevent a perfect score.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has no parameter descriptions (0% coverage), but the description compensates by enumerating valid period values ('7d', '30d', '90d', '1y', or custom range) and implying the default. This adds meaning beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool 'Track referral revenue from merchant referrals to Shopify' with a specific verb and resource, distinguishing it from sibling analytics tools focused on churn, LTV, or revenue forecasts.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives. It does not reference sibling tools or provide contextual decision criteria, only describing what the tool does.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rushikeshmore/shopify-partner-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server