Skip to main content
Glama

imports_update

Change a product import. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoA new address for the file (web address and Google Sheet imports).
hourNoDaily or weekly: the hour, on the shop's clock.
nameNo
importYesThe import's name or id, as imports.list gives them.
notifyNoWhen a run's report is emailed.
recordNoXML only: the element one product row is, as imports.inspect lists them, e.g. rss/channel/item. Omitted, the outermost repeating element.
cadenceNoHow often it runs on its own (Pro); none runs it only when asked.
mappingNoColumn (exactly as imports.inspect lists it) to field. Only the columns to change: the rest keep the guess, or the task's saved mapping.
weekdayNoWeekly only: 1 is Monday, 7 is Sunday.
isActiveNofalse pauses a scheduled import; true resumes it.
strategyNoupsert adds new products and updates existing ones; add only adds; update only updates (the rule for a stock or price file).
draftMissingNoSet products to draft when they leave the file; only products this import brought in or updated, and never more than a fifth at once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only mark it non-read-only, non-destructive and non-idempotent; the description goes much further by disclosing the two-step confirmation flow ("calling this changes nothing", returns a preview and a confirmation link, only the merchant can commit). This materially changes agent expectations and is exactly the kind of behavior structured hints cannot express.

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?

Three tight sentences, front-loaded with what the tool does and immediately followed by the critical non-mutation caveat. No filler and no repetition of schema content.

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 12-parameter tool with a nested mapping object, no output schema and rich schema docs, the description covers the decisive behavior (preview + merchant confirmation) and money units. What remains unsaid is the post-confirmation outcome and any permission prerequisites, minor gaps given the schema richness.

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 description coverage is already 92%, so the baseline is 3. The description adds one genuinely cross-cutting semantic not present in the schema: money values are integer minor units (cents), which matters because mapping targets price and compareAtPrice. That extra meaning justifies a 4.

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?

"Change a product import" gives a clear verb+resource that separates it from imports_create, imports_delete, imports_run and imports_inspect without needing the schema. It stops short of naming those siblings explicitly, so it lands at 4 rather than 5.

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

Usage Guidelines3/5

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

The description tells the agent what happens on call (preview only, merchant confirms), which implies it is the tool for editing an existing import's settings, but it never states when to choose this over imports_create or imports_run. Usage is implied rather than stated.

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