Skip to main content
Glama

Update product

update_product
Idempotent

Partially update a product record — only provided fields change.

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": {
      "product_id": "<product_id>"
    },
    "name": "update_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNo
stockNo
statusNo
agent_idNo
categoryNo
supplierNo
min_stockNo
product_idYes
descriptionNo
product_nameNo
article_numberNo
price_per_unitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety profile is covered. The description's real contribution is the PATCH-style guarantee that unspecified fields are preserved, which is meaningful beyond the annotations, but it says nothing about field validation, immutability of product_id, or error behavior on unknown fields.

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?

One short sentence, front-loaded with the verb and resource and with the key behavioral modifier placed after the dash. No waste, though it is thin given the schema's size.

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?

For a 12-parameter mutation with zero parameter documentation and no output schema, the description is under-specified — an agent must infer every field's meaning from its name alone. The partial-update guarantee partially compensates, but not enough for the tool's complexity.

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 0% across 12 parameters, so the description carries the full burden and adds almost nothing — it never explains what any field means, what the status enum values imply for stock, or how min_stock relates to stock. Only the generic 'only provided fields change' note gives any semantic signal.

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?

States a specific verb and resource ('Partially update a product record') and clarifies scope with 'only provided fields change'. It is clear what the tool does and implicitly distinguishes itself from a full-replace or create operation, though it never names a sibling.

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?

The partial-update semantics hint at when this is appropriate (sparse corrections rather than full replacement), but there is no explicit when-to-use guidance, no mention of when to prefer create_product, and no prerequisites or permissions noted.

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