Skip to main content
Glama

remove_inventory_item_custom_field

Removes a custom field value from an inventory item by item id and field name. The reusable field definition itself is left in place for other items. Returns true if a value was removed.

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": {
      "inventoryItemId": "<inventoryItemId>",
      "fieldName": "<fieldName>"
    },
    "name": "remove_inventory_item_custom_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldNameYes
inventoryItemIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses that the field definition survives and that the return is a boolean true only when a value was actually removed (implying false when nothing matched). It does not state permission requirements, whether removal is reversible, or how other custom fields on the item are affected.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the operation, then the important non-destructive scope note, then the return behavior. Every sentence carries distinct information with no filler.

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?

With no annotations and no output schema, the description must supply the safety and return profile itself. It covers what is preserved and the boolean result, which is the core need, but leaves out permission/precondition behavior and the not-found case, so a mutation-capable tool is only adequately documented.

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 0%, and the description does name both inputs ('by item id and field name'), mapping them to inventoryItemId and fieldName. It adds no detail on whether fieldName is the field's key versus its display label — a real ambiguity given the sibling set_inventory_item_custom_field_by_name — nor on case sensitivity or format.

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 (removes) and narrow resource (a custom field value on an inventory item), and explicitly scopes it against the related operation of deleting the field definition: 'The reusable field definition itself is left in place for other items.' That distinguishes it from delete_inventory_item and list_custom_fields work without needing 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 Guidelines3/5

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

Usage is implied by the verb and scope — an agent can infer this is the inverse of set_inventory_item_custom_field. However, no sibling is named and there is no explicit when-to-use/when-not-to-use guidance, e.g., whether to clear a value here versus overwriting via set_inventory_item_custom_field_by_name.

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