Skip to main content
Glama

Mudar lista de clientes

update_customer_list
Destructive

Change the workspace's customer list. mode add puts companies on it, remove takes them off, replace swaps the whole list (only when the user sends their full list). lines: one company name or site per line, or "Name, site".

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": {
      "mode": "<mode>",
      "lines": "<lines>"
    },
    "name": "update_customer_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
linesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description adds the crucial detail that replace swaps the entire list, which explains why the operation is destructive, plus the guard that replace is only appropriate with a full user-supplied list. It does not describe what happens on duplicate entries, whether add/remove are atomic, or rate limits.

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 purpose and then the mode semantics, with no filler. The parenthetical on replace is exactly the right length for the risk it communicates.

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 destructive, two-parameter mutation tool with no output schema, the definition covers purpose, mode semantics, and input format adequately. Remaining gaps are edge-case behavior for add/remove (deduplication, partial failure) and any confirmation expectation for replace.

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 description coverage is 0%, so the description carries the full burden and largely meets it: it explains all three enum values of mode and defines the lines format (one company name or site per line, or "Name, site"). It stops short of clarifying that lines is still required for remove, or the 200,000-character ceiling.

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?

The description opens with a specific verb plus resource ("Change the workspace's customer list") and immediately decomposes the operation into three named modes. It implicitly separates itself from get_customer_list by framing the action as a change rather than a read, though it never names that sibling.

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?

Each mode gets a compact when-to-use rule: add puts companies on the list, remove takes them off, and replace is gated with "only when the user sends their full list." That gating condition is genuine selection guidance. What is missing is any mention of the read counterpart or of prerequisites such as confirming a destructive replace.

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.