Skip to main content
Glama

Remove Rate Component

remove_rate_component
DestructiveIdempotent

Remove a single rate component by key from a DRAFT ComponentPriced price book. Idempotent — removing a key that does not exist succeeds silently.

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": {
      "bookId": "<bookId>",
      "componentKey": "<componentKey>"
    },
    "name": "remove_rate_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookIdYesThe DRAFT ComponentPriced price book id (GUID).
componentKeyYesThe component key to remove.

Output Schema

NameRequiredDescriptionDefault
okNo
bookIdNo
removedKeyNo
componentKeysNo
totalComponentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description's idempotency sentence largely restates the annotation, though the DRAFT-state restriction is genuine added context; it does not explain what happens if the book is not in DRAFT (error vs. silent no-op).

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?

Two short sentences, both front-loaded with the operation and scope first and the idempotency caveat second. No filler or redundancy beyond the minor overlap with annotations.

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?

An output schema exists so return values need no explanation, and the description covers scope, state constraint, and idempotency. It omits only the failure behavior for non-DRAFT books, which is minor given the rest.

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 100%, and both parameters are documented in the schema, so the baseline is 3. The description adds no extra meaning about the componentKey format or bookId expectations beyond the schema.

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 (remove), a specific resource (a single rate component by key), and a precise scope (DRAFT ComponentPriced price book), which clearly distinguishes it from append/get siblings. It does not explicitly name an alternative tool, so it stops short of 5.

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 DRAFT-only precondition effectively tells the agent when this tool is applicable, but there is no explicit guidance on alternatives (e.g. append_rate_components or get_rate_components) or what to do for non-draft books. Usage is implied rather than spelled out.

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