Skip to main content
Glama
alyiox

mcp-walmart-marketplace

call_endpoint

Destructive

Execute authenticated Walmart Marketplace API requests by providing an operation ID or method and path. Handles authentication, headers, and environment selection for production or sandbox.

Instructions

[WalmartMarketplace] Execute an authenticated API request. Give operation_id, or method and path together. Auth, WM_MARKET, WM_GLOBAL_VERSION, WM_SANDBOX and correlation headers are added by the server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo[WalmartMarketplace] JSON request body for POST/PUT/PATCH.
pathNo[WalmartMarketplace] API path after the base URL, e.g. /v3/orders. Required unless operation_id is given.
methodNo[WalmartMarketplace] HTTP method. Required unless operation_id is given.
paramsNo[WalmartMarketplace] Query string parameters as a JSON object.
regionYes[WalmartMarketplace] Region label, e.g. us. Src: config.
environmentYes[WalmartMarketplace] Target environment — production or sandbox. Src: config.
path_paramsNo[WalmartMarketplace] Values for {placeholders} in the path, e.g. {"purchaseOrderId": "1796277083022"}.
operation_idNo[WalmartMarketplace] Operation id as domain:operationId. Resolves method, path, and required headers from the spec. Src: operations.
advertiser_idYes[WalmartMarketplace] Advertiser (seller profile) id to act as. Required — selects the credential. Src: config.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo
curlNo
errorNo
cached_atNo
truncatedNo
status_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the agent knows this can modify or delete data. The description adds that authentication headers are injected by the server, which is useful but does not elaborate on side effects or risk. Since the annotation already covers the main behavioral traits, the description adds modest context but could explicitly warn about potential for mutations or irreversible actions.

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 only two sentences, tightly packed with the essential information: the tool is an authenticated API caller, accepts either operation_id or method+path, and that auth headers are server-managed. Every sentence earns its place, and the primary guidance is front-loaded. No fluff or redundancy.

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?

The tool has nine parameters and an output schema, which covers return values. The description does not address error handling, pagination, or response format, but the output schema likely handles that. However, it lacks guidance on preferred usage (e.g., using operation_id when available vs raw path) and does not mention that it can call any endpoint in the spec, which could be helpful for agent decision-making. Given the schema's richness, this is adequate but not exceptional.

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 100%, so all nine parameters are already documented in the input schema. The description repeats the relationship between operation_id and method/path, which is also captured in the schema. It provides no additional parametric detail or syntax beyond what the schema offers, so the baseline of 3 is appropriate.

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's purpose: 'Execute an authenticated API request' and specifies the two invocation modes (operation_id or method+path). This distinguishes it from sibling tools like list_endpoints and upload_feed, which are more specialized. The verb 'Execute' and resource 'authenticated API request' are specific and unambiguous.

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?

The description explains how to invoke the tool (operation_id or method+path) but provides no guidance on when to use this tool versus alternatives such as upload_feed or describe_endpoint. It does not mention any exclusions or scenarios where a sibling would be more appropriate, leaving the agent to infer that this is the low-level fallback without explicit direction.

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