Skip to main content
Glama

Last Price

run_commerce_cycle

Run the commerce pipeline once: pull catalogs and competitor prices, match them, apply the policies and draft price proposals. By default it is a dry run that drafts proposals and pushes nothing to a store. With execute true it also pushes approved proposals to the connected store, which changes live prices and needs the commerce execute scope as well. Needs a Last Price credential with commerce proposal draft scope. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.

Input Schema

NameRequiredDescriptionDefault
executeNoPush approved proposals to the store. Defaults to false.
expires_in_secondsNoHow long drafted proposals stay open, up to 30 days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say readOnly=false, openWorld=true, idempotent=false, destructive=false. The description goes well beyond: it discloses that the default is a no-op dry run, that execute=true mutates live store prices, which extra scope that requires, which credential scope is needed, and the exact 403 failure mode for sandbox keys on unclaimed workspaces. That is exactly the kind of operational context annotations cannot carry.

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?

Four sentences, front-loaded with what the tool does, then default behavior, then the opt-in mutation and its scope, then the two preconditions. No sentence is filler and each adds an operational fact the agent needs before calling.

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?

For a mutating, open-world pipeline tool with two fully documented parameters and no output schema, the description covers safety, defaults, auth scopes, and workspace state. The only gap is that it doesn't say where drafted proposals surface or how many are produced, which an agent might want before invoking with execute=true.

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%, so the baseline is 3. The description nonetheless adds real meaning to `execute` beyond the schema's 'Push approved proposals to the store': it names the live-price consequence and the additional scope required. `expires_in_seconds` is left entirely to the schema, which documents it adequately.

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 gives a specific verb and resource (run the commerce pipeline once) and enumerates the internal steps: pull catalogs and competitor prices, match, apply policies, draft proposals. That is far more specific than the name alone. It does not explicitly distinguish itself from close siblings like execute_commerce_proposals or seed_commerce_sample, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly states the default mode (dry run, drafts only, pushes nothing) and the condition that changes behavior (execute true pushes approved proposals to the store). Prerequisite conditions are spelled out: commerce execute scope, a proposal-draft credential, and a claimed workspace. It lacks explicit routing to alternative tools for related work, so it is not a 5.

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