Skip to main content
Glama
alyiox

mcp-walmart-ads

refresh_specs

Idempotent

Update OpenAPI specs in the user cache to override bundled copies; omit the api parameter to update all 33 Walmart Ads specs.

Instructions

[Walmart] Refresh OpenAPI specs into the user cache, which then takes precedence over the bundled copies. Omit api to refresh all 33.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiNoRefresh only this api, e.g. walmart:marketplace:order-management. The two auxiliary walmart:ads specs are valid here. Src: platforms.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, open-world behavior, so the bar is lower. The description still adds genuinely useful context beyond the annotations: the refreshed specs land in a user cache that takes precedence over bundled copies, and the 'all 33' scope signals the blast radius of an unscoped call.

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?

Two short sentences, front-loaded with the action and destination, followed immediately by the one operational detail an agent needs (the default scope). No filler.

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?

Output schema exists so return values need not be explained, and the mutation's safety profile is covered by annotations. The description covers cache precedence and default scope well; it could have said where specs are sourced from (network) to justify the openWorldHint, but nothing critical to correct invocation is missing.

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?

Schema coverage is 100% and the single param is optional, so the schema already carries the format example. The description's 'Omit api to refresh all 33' adds the default's practical effect (full refresh of 33 specs) which the schema's default=null does not convey.

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?

States a specific verb and resource ('Refresh OpenAPI specs') plus the destination ('user cache'), which is unambiguous. Sibling tools (list_endpoints, call_endpoint, download_file) serve unrelated functions, so no explicit differentiation is needed, but the description never contrasts itself with them or explains the bundled-vs-cache relationship scope beyond precedence.

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?

The phrase 'Omit api to refresh all 33' gives a clear default behavior, but there is no explicit guidance on when to use this tool versus, say, just reading bundled specs, nor any prerequisite or caution about when refreshing is unnecessary. Usage is implied rather than stated.

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