Skip to main content
Glama

Last Price

approve_commerce_proposal

Destructive

Approve a drafted price proposal so it can be pushed to the store. proposal_id is the id from list_commerce_proposals. Deciding is for the workspace owner, a person or an agent the owner has trusted with the commerce proposal approve scope; the audit trail records who decided. Approving does not push the price: use execute_commerce_proposals. Needs a Last Price credential with commerce proposal approve scope. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy, kept in the audit trail. Optional.
proposal_idYesThe proposal id, as list_commerce_proposals gives it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the annotations: names the required approve scope, states the audit trail records the decider, and discloses a concrete failure mode (403 for sandbox keys from self-registration until a person claims the workspace). Annotations only say 'destructive, not idempotent'; the description tells the agent why state changes and what gates it.

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?

Front-loads purpose and the id source, then compresses permissions and preconditions into short clauses; nothing is redundant. The last two 'Needs a ...' sentences are slightly staccato but each carries distinct requirement information.

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?

Covers purpose, permissions, credential scope, workspace state, id provenance, and the follow-up call — essentially everything needed to invoke it safely with no output schema present. Only the response shape after approval is left unstated, a minor gap.

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 both params are documented there, so the description only adds provenance for proposal_id ('the id from list_commerce_proposals'). That is useful routing context but does not extend the reason field or constrain formats further.

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?

States a specific verb and resource ('Approve a drafted price proposal') plus the state transition it causes ('so it can be pushed to the store'), which separates it cleanly from execute_commerce_proposals and reject_commerce_proposal.

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

Usage Guidelines5/5

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

Explicitly says approving does not push the price and routes the agent to execute_commerce_proposals for that step, and names list_commerce_proposals as the source of the id. Preconditions (owner/trusted scope, Last Price credential, claimed workspace) are all spelled out.

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