Skip to main content
Glama

setProductCategoriesTool

Replace the categories of a product with these ids (from listRikmaCategories; [] removes them all). Where a product is filed is operational — applied at once, no proposal. Members only. Docs: https://1lev1.com/mcp#setProductCategoriesTool

Input Schema

NameRequiredDescriptionDefault
productIdYesMatanot id, from listRikmaProducts.
projectIdYesRikma (project) id, from findUserProjectsTool. You must be a member.
categoryIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Adds real context beyond the annotations: the change is applied immediately rather than proposed, the [] case removes every existing assignment, and membership is required. That materially improves on the bare readOnlyHint=false / destructiveHint=false pair. Minor tension: a set-replacement operation reads as idempotent in nature while idempotentHint=false says otherwise, but the description does not state a conflicting behavior, so this is not a contradiction.

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 tight sentences, front-loaded with the action and its replacement semantics, then the immediacy caveat and prerequisites. The trailing docs URL is fine but the parenthetical and em-dash stacking makes it slightly denser than needed.

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

Completeness5/5

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

For a 3-parameter mutation tool with no output schema, everything needed to call it correctly is present: identifier sources, clear semantics, member prerequisite, and the fact that the write takes effect immediately. Nothing essential is missing.

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 67%; the two id parameters are already documented in the schema, but categoryIds has no schema description at all — the description supplies its source (listRikmaCategories) and the empty-array convention, which is the key undocumented meaning. The 20-item cap and id format are left to the schema.

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?

"Replace the categories of a product with these ids" states a specific verb (replace), resource (product categories) and the exact replacement semantics. The clause "applied at once, no proposal" implicitly separates it from the sibling propose* tools, so an agent can route between them without opening a schema.

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

Usage Guidelines4/5

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

Gives concrete operational guidance: ids come from listRikmaCategories, an empty array clears all assignments, and the caller must be a member. It does not explicitly say when to prefer this over updateRikmaProductTool or upsertProductCategories-style siblings, so routing against those is left to inference.

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.