Skip to main content
Glama

SellerFile for Walmart sellers

Profit by product

get_product_profit
Read-onlyIdempotent

Per-SKU sales, units, ad spend and profit of the signed-in seller's Walmart stores for a period, sorted by sales, units, profit or ad spend, 10 rows by default and at most 25. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
sortNo
limitNo
periodNo
compareNo
end_dateNo
timezoneNo
start_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered and 'Read-only' merely restates it. The description earns credit for adding real behavioral detail not in the annotations: default 10 rows, a hard cap of 25, a default sort order, and the scope limitation to the signed-in seller's stores. It does not explain freshness or how comparison output changes the result, which keeps it below 5.

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 what the tool returns before the sort and row-limit details. It is appropriately short for the tool, though the run-on list of sort keys and limits is slightly harder to scan than separated clauses would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a seven-parameter reporting tool with no output schema and zero schema coverage, the description should cover the remaining parameters and any period/date interaction. Missing guidance on compare, start_date, end_date and timezone leaves meaningful gaps for an agent trying to construct a correct call.

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

Parameters2/5

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

Schema description coverage is 0% across seven parameters, so the description carries the full burden and only partly discharges it. It explains sort values and the limit default/cap, and gestures at 'period', but compare, start_date, end_date and timezone receive no mention at all, leaving the agent to guess how explicit dates interact with period and what the comparison modes return.

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 the exact resource granularity (per-SKU sales, units, ad spend and profit) and scopes it to the signed-in seller's Walmart stores, which distinguishes it from the aggregate get_profit_summary without naming it. It lacks an explicit verb but the resource and grain are unambiguous.

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 per-SKU grain suggests this is the detail counterpart to get_profit_summary, and 'for a period' signals time-scoped reporting. There is no explicit when-to-use, when-not-to-use, or alternative routing, so the agent must infer the choice between this and the summary tool.

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