Skip to main content
Glama

BayDeep — E-commerce MCP Gateway

affiliate_orders

YOUR attributed affiliate orders in a time range (source for your commission settlement & refund tracking). Orders are filtered to your key's tracking_id; each order carries share_eligible + share_amount and the page ends with share_summary — each order carries share_eligible and share_amount fields. Requires a free API key.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
statusNoPENDING | PAID | CLOSED ...
end_timeNoDEFAULT: now
page_sizeNo
start_timeNoISO 8601 or yyyy-MM-dd HH:mm:ss (UTC assumed). DEFAULT: 90 days ago

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / end_time / description
      Added value: +"DEFAULT: now"
    • changedInput schema / properties / start_time / description
      Previous value: -"ISO 8601 or yyyy-MM-dd HH:mm:ss (UTC assumed)"New value: +"ISO 8601 or yyyy-MM-dd HH:mm:ss (UTC assumed). DEFAULT: 90 days ago"
    • removedInput schema / required
      Removed value: -[
      -  "start_time",
      -  "end_time"
      -]
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full load and does reasonably well: it discloses the implicit key-scoping filter, the presence of share_eligible/share_amount per order, a trailing share_summary block, and the prerequisite of a free API key. It stops short of stating pagination termination behavior, rate limits, or whether results are sorted.

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?

The core statement is front-loaded, but the sentence 'each order carries share_eligible + share_amount' is repeated verbatim a clause later, wasting space. The parenthetical use-case framing is helpful, yet the duplication signals a lack of editing.

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 read tool with five optional parameters and no output schema, the description does useful work by describing the returned fields and the share_summary envelope. It is still incomplete about what share_summary contains, how paging terminates, and what status values mean, leaving an agent to infer calling behavior from the schema alone.

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 coverage is 60%, with start_time, end_time, and status documented inline (including defaults and format), while page and page_size are undocumented. The description only gestures at 'a time range' and adds no meaning about status values, paging, or the 50-item page_size cap, so it neither compensates for nor extends 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?

The description names a specific resource with explicit scope: 'YOUR attributed affiliate orders in a time range,' and clarifies they are filtered to the caller's tracking_id. No sibling tool in the catalog overlaps with order retrieval, so the risk of confusion is low, though the phrasing is a noun phrase rather than an action verb.

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?

It hints at purpose by calling itself 'source for your commission settlement & refund tracking,' which implies when an agent would reach for it. However, there is no explicit when-to-use/when-not guidance, no mention of how to iterate pages, and no alternatives named for related lookups.

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.