Skip to main content
Glama

commerce_sync_history

Destructive

Syncs historical commerce data to maintain accurate, up-to-date records.

Instructions

Run the commerce domain agent action sync_history.

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

A3.6/5.0
Behavior3/5

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

Annotations already indicate destructiveHint: true and readOnlyHint: false, so the bar for additional disclosure is lower. The description does not contradict these annotations, but it also does not elaborate on what destructive effects might occur or what state changes result from running the action, leaving the actual behavior opaque.

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 clear separation between the main action statement and the parameter details. It avoids unnecessary verbosity and uses a straightforward structure, though it could be slightly more compact by trimming generic routing boilerplate.

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

Completeness3/5

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

The output schema exists, but the description does not explain what the output represents or what the sync_history action returns. It also lacks context on the purpose of syncing history or how this fits into the broader commerce domain, leaving the tool's operational context incomplete.

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 0%, but the description compensates by providing meaningful explanations for both parameters: 'message' is a free-text objective and 'inputs' is an optional JSON string of structured inputs. This gives an agent enough understanding to populate them correctly.

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?

The description clearly states the tool runs the 'commerce domain agent action sync_history,' specifying the exact action and distinguishing it from the many sibling tools. The verb 'run' and the action name provide precise purpose.

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

Usage Guidelines2/5

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

No explicit guidance is given on when to use this tool versus alternatives. The description only repeats generic dispatcher routing details and parameter explanations, without indicating scenarios or conditions that would favor this tool over other commerce or sync-related tools.

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