Skip to main content
Glama

Set catalog product label

set_catalog_product_label
Destructive

Link a catalog product on a sheet to a default print profile in this organization. The product name must already exist on that sheet. If the product already has a different profile, the current link is returned and nothing changes unless replace is true. profile_id is required. An empty profile_id is refused; MCP cannot remove the link. Returns print_profile_name and whether the link was created, kept, or replaced.

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": {
      "sheet_number": "<sheet_number>",
      "product_name": "<product_name>",
      "profile_id": "<profile_id>"
    },
    "name": "set_catalog_product_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
replaceNo
profile_idYes
product_nameYes
sheet_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial context beyond annotations: it explains exactly what replace overwrites, that a mismatched existing profile results in the current link being returned with no change, and that MCP cannot remove an existing link at all. It also discloses the return shape (print_profile_name plus created/kept/replaced status), which is notable given no output schema exists. This is consistent with destructiveHint=true and idempotentHint=false.

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?

Five tight sentences, front-loaded with the action and scope, then consequences. 'profile_id is required' mildly restates the schema's required list, a small redundancy that keeps it just short of optimal.

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 4-parameter mutation with no output schema and no annotation detail beyond hints, the description covers preconditions, conflict handling, refusal cases, and return values. It stops short of covering failure modes such as a nonexistent sheet or a profile_id from another organization.

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 0%, so the description must carry the load and it does for the two ambiguous parameters: it defines replace as the override for an existing conflicting link and constrains profile_id (must be non-empty, cannot unlink). It does not mention sheet_number's 1-10 range or product_name's length bound, leaving those 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?

States a specific verb and resource: 'Link a catalog product on a sheet to a default print profile in this organization', with the relationship to the sheet made explicit. This is clearly distinguishable from siblings such as get_catalog_product_label (read) and list_print_profile_bindings (enumerate), so an agent can select it without opening the 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 preconditions and behavioral rules: the product name must already exist on the sheet, an empty profile_id is refused, and existing links are preserved unless replace is true. It does not name a sibling alternative (e.g. get_catalog_product_label to inspect before linking), so the routing guidance is strong but not exhaustive.

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