Skip to main content
Glama
mouser-mcp

mouser-mcp

Remove a part from a Mouser cart

remove_from_cart
DestructiveIdempotent

Removes one Mouser part from a cart by cart key and part number, enabling cart corrections before checkout.

Instructions

Removes one part from a Mouser cart.

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": {
      "cartKey": "<cartKey>",
      "mouserPartNumber": "<mouserPartNumber>"
    },
    "name": "remove_from_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
cartKeyYesMouser cart key.
mouserPartNumberYes

Output Schema

NameRequiredDescriptionDefault
itemsYes
cartKeyNo
currencyNo
itemCountNo
merchandiseTotalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.5

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description adds essentially nothing beyond that: it does not say whether the removal can be undone, whether a missing part causes an error or a no-op, or what the response contains.

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

Conciseness3/5

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

One short, front-loaded sentence with no filler, which is good. However, brevity here reflects under-specification rather than disciplined economy, since a destructive write tool needs more than a restatement of its name.

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

Completeness2/5

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

An output schema exists, so return values need not be described. Still, for a destructive, open-world mutation with two required parameters and only 50% schema coverage, the definition leaves the agent without prerequisites, error semantics, or parameter sourcing guidance.

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 coverage is 50%: cartKey has a terse description and mouserPartNumber has none. The description does not explain where to obtain the cartKey, what format the part number takes, or whether the part number must already exist in the cart, so it fails to compensate for the coverage gap.

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 ('removes') and resource ('one part from a Mouser cart'), and the word 'one' conveys granularity that implicitly distinguishes it from sibling update_cart_items. It does not name any sibling explicitly, so sibling differentiation is only inferable.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus update_cart_items or add_to_cart, no prerequisite that a valid cartKey must first come from get_cart, and no note about behavior when the part is not present in the cart.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.