Skip to main content
Glama
agentreadycrm

agentreadycrm

Official

Import Organizations

import_organizations
Idempotent

Find or create many organizations from a list in one call, match existing records without overwriting edits, and report skipped rows with their reasons.

Instructions

Find or create many organizations in one call, from a list loaded from a file or another source.

Call it for a list of more than a few companies; for one, use find_or_create_organization. Each row is matched and filled the way that tool does it, so importing the same list again saves nothing new and never overwrites a later edit. A row that fails is skipped and reported with its reason and index; every other row is saved. A matched row whose value differs from the one held is reported under kept. At most 500 rows per call; split a longer list.

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": {
      "rows": "<rows>"
    },
    "name": "import_organizations"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYesUp to 500 companies, one object per row. A row needs a name, a domain, or an external reference a record here holds. Values are text; an empty string counts as absent.
sourceNoWhere the list came from, recorded on each organization it creates (default "import").import
fields_byNoWho is setting the rows' custom fields: an agent, a run, or a person.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare idempotentHint and non-destructive, but the description goes well beyond them: repeat imports 'save nothing new and never overwrite a later edit', failures are per-row (skipped, reported with reason and index) while other rows persist, and non-applied matches surface under ``kept``. These are exactly the partial-success and conflict semantics an agent needs before invoking a bulk write.

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 scope and the sibling contrast, then failure and idempotency behavior, then the row limit — a sensible order with little filler. Some sentences are dense and could be split, but no sentence is redundant.

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?

An output schema exists, yet the description still explains the meaningful return signals (per-row errors, ``kept``) and the matching/idempotency rules. Combined with fully documented parameters no nested objects, an agent has everything needed to call it correctly.

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 coverage is 100% and the schema already explains row validity, empty-string-as-absent, ``source`` default, and ``fields_by``. The description reinforces matching ('matched and filled the way that tool does it') but adds no new syntax or format details, so the baseline 3 applies.

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?

The description states a specific verb and resource ('Find or create many organizations') plus the bulk scope ('in one call, from a list loaded from a file or another source'). It also explicitly distinguishes itself from the singular sibling by naming ``find_or_create_organization`` for the one-company case.

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?

It gives a concrete selection threshold ('more than a few companies') and names the exact alternative for the small case. The 500-row cap also tells the agent when to split the work rather than call once, so both when and when-not are covered.

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