Skip to main content
Glama

commerce_predict

Destructive

Generate commerce predictions from a natural language objective and optional JSON inputs, routed through the domain-agent dispatcher under your JWT, tenant, and company scope.

Instructions

Run the commerce domain agent action predict.

Routes through the platform's domain-agent dispatcher under your JWT, tenant, and company scope.

Args: message: Free-text objective for the action. inputs: Optional JSON string of structured inputs for the action.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsNo{}
messageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

The description notes it runs an action and routes through a dispatcher, but it does not mention side effects or consequences. Given the destructiveHint=true annotation, this lack of warning is a significant gap; the description does not contradict the annotation but fails to elaborate on potential impacts.

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 very concise, using a short opening statement and a single routing sentence, followed by parameter lines. All content is necessary and there is no redundancy or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description lacks critical context for an agent: it does not specify what `predict` returns (though an output schema exists), nor does it explain the nature of the prediction or provide examples. The routing details are present, but overall the tool's role and expectations are under-specified.

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?

The description provides brief, useful explanations for both parameters: `message` as free-text objective and `inputs` as optional JSON string. It adds some meaning beyond the schema defaults, but it remains high-level and does not cover possible structures or constraints.

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 clearly states it runs the commerce domain agent action `predict`, specifying a verb and a resource. However, it does not explain what the prediction actually does, making the purpose somewhat opaque. It is distinct from siblings but lacks functional detail.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool versus alternatives. It only mentions routing details (JWT, tenant, company scope) but does not indicate scenarios where `predict` is the appropriate choice or when to avoid it.

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

Deploy Server

Other Tools