Skip to main content
Glama

Create clients bulk

create_clients_bulk

Create many customers from a list, such as a page of rows read with read_file_rows. Up to 100 a call; for a longer list call again with the next page. Partial success: returns {error, message, created: [{line, id, name}], matched: [{line, id, name}], errors: [{line, name, message}]}. A row whose name matches a customer already in stub is matched, not added twice, and fills only blank details. A refused row is listed in errors with the reason and the rest are saved. error is true only when no row was created or matched. Show the entrepreneur a preview and get one confirm before you call it. To change an existing customer use save_client.

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": {
      "items": "<items>"
    },
    "name": "create_clients_bulk"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesUp to 100 customers to create, in file order. Partial success: a row that is refused is listed in errors and the rest are saved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / items / items / properties / creditlimit / description
      Previous value: -"Most this customer may owe, in base currency. Changing or clearing a stored limit needs the Extend credit over limit permission."New value: +"Most this customer may owe, in base currency. Changing or clearing a stored limit needs Customers Add & edit."
  2. Changed1 schema field changed
    • addedInput schema / properties / items / items / properties / tags
      Added value: +{
      +  "description": "Category or group names to tag it with (a Sage customer category, say). A tag with the same name is reused; a missing one is made.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false, and the description goes far beyond that: it discloses partial-success semantics, the exact response shape, the rule that name-matching rows are matched rather than duplicated and only fill blank fields, that refused rows appear in errors while the rest are saved, and that error is true only when nothing was created or matched. It also states a human-confirmation requirement, which is genuinely extra behavioral context.

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?

The verb and the cap are front-loaded, and every sentence contributes (limit, paging, partial success, matching, error flag, confirmation, alternative tool). The inline response-shape block is dense and slightly heavy on a first read, which keeps it just short of a 5, but the information is high-value rather than filler.

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

Completeness5/5

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

There is no output schema, and the description compensates by specifying the return structure and the meaning of each result bucket (created, matched, errors, error). For a high-volume mutation with recursion-free but nested payloads and a 100-item cap, the description covers paging, idempotent matching, and failure modes — everything an agent needs to call it safely.

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%, so per-field meaning is already carried by the schema and the description's 'Up to 100 a call' merely restates maxItems. It does add some semantic value in explaining how the 'name' field drives match-vs-create behavior, but it does not document the more consequential nested semantics (contacts/addresses replacement, line echoing) itself. Baseline 3 is appropriate when the schema does this much work.

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?

Uses a specific verb and resource ('Create many customers from a list') and immediately scopes the call with a per-call cap and a paging instruction. It also names the sibling it is not for ('To change an existing customer use save_client'), so an agent can separate it from save_client without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use context ('such as a page of rows read with read_file_rows'), what to do when the list is longer (call again with the next page), the alternative for existing records (save_client), and a required workflow step: show the entrepreneur a preview and get one confirm before calling. Nothing about routing is left to inference.

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