Skip to main content
Glama

commerce_knowledge_build

Destructive

Build commerce knowledge by sending a free-text objective to the domain agent. Optionally provide structured JSON inputs to guide the knowledge build.

Instructions

Run the commerce domain agent action knowledge_build.

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.2/5.0
Behavior2/5

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

Annotations indicate destructiveHint=true and readOnlyHint=false, but the description adds no information about side effects or what the action modifies. It only describes routing and scoping, not behavior. Since annotations already provide the destructive flag, the description adds little transparency.

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?

The description is concise, with a clear Args section and minimal verbiage. It is well-structured and easy to read, though it lacks depth in content.

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

Completeness1/5

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

The description is extremely sparse. It does not explain what knowledge_build does, what the output is, what the message should contain, or any example usage. Given the tool's name is abstract and there is no other context, an agent would be unable to use it effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides no descriptions, so the description is the sole source. It gives only a one-line explanation for each parameter ('Free-text objective' and 'Optional JSON string of structured inputs'), without detailing expected content, format, or constraints. This is insufficient for an agent to construct a meaningful call.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool runs the commerce domain agent action `knowledge_build`, identifying the specific action and its routing scope. However, it does not explain what 'knowledge_build' actually accomplishes, leaving the purpose somewhat vague beyond the action name.

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?

The description provides no guidance on when to use this tool versus alternatives. It neither mentions any comparable tools nor states conditions under which this should be selected.

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