Skip to main content
Glama

Octolane

bulk_update_accounts

DestructiveIdempotent

Update fields on existing accounts/companies in one DB-backed call (max 25, applied synchronously with no preview). Use this for account updates, including one known account. records is keyed by account/company UUID (company_id), where each value is a field patch keyed by property_name. Before calling, resolve account IDs with search_accounts and discover valid field property_names/types with get_account_fields. Do NOT guess custom attribute names. Values must match the attribute type: string for text/select/date strings, number for numeric fields, boolean for checkbox/radio, array for multi_select/team_members/date_range, and null to clear nullable fields. For more than 25 records, split the set into batches of at most 25 and call this tool once per batch - the MCP server has no async bulk-update job.

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": {
      "records": "<records>"
    },
    "name": "bulk_update_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
recordsYesObject keyed by account/company UUID (`company_id`). Each value is a field patch keyed by property_name.
session_idNoThe ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already disclose destructiveHint=true, idempotentHint=true, and readOnlyHint=false, and the description adds material context beyond them: the 25-record ceiling, synchronous application, and the absence of any preview step or async bulk job. It does not say whether a batch is atomic, what happens on partial failure, or how cleared/omitted fields are reported, which is a notable gap for a destructive bulk mutation.

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?

Front-loaded with the action, size limit, and the no-preview warning, then prerequisites, then batching. It is dense but mostly earns its length; the value-type enumeration duplicates the schema's anyOf descriptions and could be trimmed.

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?

There is no output schema, so an agent gets no return-shape information, yet for a destructive synchronous bulk write the definition supplies limits, prerequisites, type rules, and the batching strategy needed to invoke it correctly. Missing only failure/atomicity and response semantics.

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 coverage is 100%, so baseline is 3; the description goes further by framing `records` as a UUID-keyed map of property_name patches and by spelling out the value-type contract (string/number/boolean/array/null) with the instruction not to guess custom attribute names. Most of that type mapping is repeated from the schema, so the added value is reinforcement plus the cross-tool discovery step rather than new semantics.

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 and resource (update fields on existing accounts/companies), plus concrete scope: one DB-backed call, max 25 records, synchronous, no preview. It also distinguishes itself from the sibling family implicitly by naming account/company updates and noting it works even for a single known account, so an agent can tell it apart from bulk_create_accounts or bulk_delete_accounts.

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?

Explicitly says when to use it (account updates, including a single known account), gives prerequisites (resolve IDs via search_accounts, discover property_names/types via get_account_fields, do not guess custom attributes), and states the exact alternative for larger sets (split into batches of 25, one call each, no async job exists).

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