Skip to main content
Glama

Shoprocket MCP by usefulapi

Update category

shoprocket_update_category
DestructiveIdempotent

WRITE: rename a category, change its slug, or set the products in it. Only the fields you pass are sent. POST /v1/categories/{id}.

Input Schema

NameRequiredDescriptionDefault
nameNoNew name.
slugNoNew slug.
productsNoComma-separated product ids (prod_...) assigned to the category.
category_idYesShoprocket category id (cat_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds useful PATCH-style semantics ('only the fields you pass are sent') and names the endpoint, but does not disclose the key destructive consequence — that supplying 'products' likely replaces the whole assignment list, unassigning existing products.

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?

Two short sentences, front-loaded with the WRITE marker and the endpoint last. Every clause carries information, though the endpoint could be considered optional detail.

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?

Parameters are fully documented and annotations cover the mutation safety profile, so the basics are in place. The gap is the destructive semantics of the 'products' field and what the response/state looks like after the write, which the description leaves implicit.

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% and each field is documented (name, slug, products, category_id), so the schema does the heavy lifting. The description adds little beyond restating the fields, which is the correct baseline of 3.

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?

Opens with an explicit 'WRITE:' marker and a concrete verb+resource, then enumerates exactly the three mutable fields (name, slug, products). An agent can distinguish this from shoprocket_create_category and shoprocket_get_category without opening any schema.

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?

'Only the fields you pass are sent' implies partial-update usage, and the write framing distinguishes it from the get/list siblings by inference. However, it never explicitly says when to use this versus create_category or update_product, and offers no exclusions or prerequisites.

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.