Skip to main content
Glama

SellerFile for Walmart sellers

Profit summary

get_profit_summary
Read-onlyIdempotent

Headline metrics (Sales, units, orders, ad spend, gross profit and more) and the P&L section totals of the signed-in seller's Walmart stores for a period (default yesterday, in the seller's timezone), optionally compared with the previous period or last year. 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_profit_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNo
compareNo
end_dateNo
timezoneNo
start_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds useful defaults (period defaults to yesterday, seller timezone) and comparison capability, but 'Read-only' simply repeats annotations, and it does not disclose return granularity, aggregation across stores, or data freshness.

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 front-loaded sentence covers the metrics, scope, defaults, and comparison option efficiently. The trailing 'Read-only' is redundant given the annotations but does not substantially hurt readability.

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?

With no output schema and 0% parameter description coverage, the description should do more work. It covers core scope and defaults adequately, but it leaves important gaps around custom date ranges, whether metrics are aggregated per store or total, and what the response includes.

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 0%, so the description must carry parameter meaning. It explains the period default, comparison semantics, and timezone, but completely omits start_date and end_date and how those interact with period, leaving two of five parameters unexplained.

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: headline metrics (Sales, units, orders, ad spend, gross profit) and P&L section totals for the signed-in seller's Walmart stores. This clearly identifies a summary-level profit tool, but it does not explicitly differentiate it from siblings such as get_product_profit or explain_seller_metric.

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 implies usage by describing the default period and comparison option, but gives no explicit when-to-use guidance versus alternatives. An agent can infer this is for high-level summary metrics rather than product-level profit or metric explanations, but the definition does not state that.

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