Skip to main content
Glama
shopify-mcp-complete

shopify-mcp-complete

by hishamalhadi

manage-metafields

Set or delete custom metafields on any Shopify resource, such as products, variants, customers, or orders, to manage custom data.

Instructions

Set or delete metafields on any resource (product, variant, customer, order, etc.). Use this to manage custom data.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ownerId": "<ownerId>"
    },
    "name": "manage-metafields"
  }
}

Input Schema

NameRequiredDescriptionDefault
ownerIdYesOwner ID (product, variant, customer, etc.)
metafieldsToSetNo
metafieldIdsToDeleteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It implies mutation but does not disclose permissions required, whether deletes are destructive or reversible, whether setting metafields overwrites existing values, or what the operation returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is short and front-loads the core action. However, the second sentence ('Use this to manage custom data') adds little value and is close to tautological.

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?

This is a mutation tool with no annotations, no output schema, and incomplete parameter descriptions. The definition does not provide enough behavioral or parameter context for an agent to call it confidently.

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?

Schema description coverage is only 33%, with ownerId described but metafieldsToSet and metafieldIdsToDelete left undocumented. The description clarifies that ownerId can refer to products, variants, customers, orders, etc., but adds no meaning about the structure or expected format of the set/delete parameters.

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 states a specific verb and resource: set or delete metafields on any resource, with concrete examples of owners. It is clear what the tool does, though it does not explicitly distinguish itself from sibling management tools.

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?

The only guidance is 'Use this to manage custom data,' which is vague and essentially restates the purpose. There is no explanation of when to choose this tool over alternatives or when not to use it.

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