Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Update via the ApparelHub API

api_update
Destructive

Update ApparelHub Agent API records with authenticated PATCH or PUT requests, using relative paths and scoped account permissions. Use when no dedicated tool covers the needed change.

Instructions

Update something in the ApparelHub Agent API (https://apparelhub.ai/developer/api-docs) with an authenticated PATCH (partial update, the default) or PUT (full replace), as the connected account. Changes data. PREFER a dedicated tool when one exists (they return clean, guarded results); use this only for capabilities no tool covers. Call get_api_reference first to find the right path. path is relative (e.g. "orders", "store//settings"); no full URLs. Scoped to the account's own permissions.

[#ad1154]

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": {
      "method": "<method>",
      "path": "<path>"
    },
    "name": "api_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON request body.
pathYesRelative path under /agents/v1, e.g. "orders" or "product/<uuid>/archive". No host, no "..".
queryNoQuery-string parameters.
methodYesPATCH (default) or PUT, as the endpoint requires.PATCH
workspaceNoWorkspace uuid to scope to (agency accounts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.23.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true; the description adds substantive context beyond them: it runs as the connected account, is bounded by that account's permissions, distinguishes partial PATCH from full-replace PUT, and states that it changes data. It does not cover failure behavior or rate limits, so it stops short of a 5.

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 preference rule and prerequisite are front-loaded ahead of the path-format detail, and the sentences are dense with usable information. Minor waste: the docs URL is redundant with get_api_reference, and the trailing '[#ad1154]' token is noise with no apparent meaning to an agent.

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 generic passthrough with no output schema, the definition supplies the essentials an agent needs: auth context, permission scoping, method semantics, path format, and the discovery step. Return shape and error behavior are unaddressed, which is a real but modest gap for a low-level API tool.

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?

Schema description coverage is 100%, so the schema already documents path, method, body, query, and workspace. The description reinforces path format ('relative', 'no full URLs') and the PATCH-default/PUT-when-required distinction, but that largely repeats schema text and says nothing about the workspace or query parameters. Baseline 3 is appropriate.

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?

Names a concrete verb (update) and a concrete mechanism (authenticated PATCH/PUT against relative paths on the ApparelHub API), and explicitly positions itself as the generic escape hatch that dedicated tools supersede. The literal resource is 'something', which is intentionally generic, but an agent can still tell what this tool does and how it differs from update_product, update_store_settings, etc.

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

Usage Guidelines5/5

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

Gives an explicit preference rule ('PREFER a dedicated tool when one exists... use this only for capabilities no tool covers') and a concrete prerequisite ('Call get_api_reference first to find the right path'). The when-to-use and when-not-to-use conditions are both stated without requiring inference.

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