Skip to main content
Glama
agentreadycrm

agentreadycrm

Official

Resolve External Refs

resolve_external_refs
Read-onlyIdempotent

Checks a batch of external record references against the workspace and returns which are already held versus missing, so you fetch and import only new records.

Instructions

Say which of a batch of other systems' references this workspace already holds, and on which records.

A reference is what another system calls a record (crm://companies/123). Call it before pulling records from a source: what comes back under found is already here, and only what is missing is new, so you fetch and import only those, giving each row its reference. One call answers the whole batch. It finds by reference only; to find a record by name use list_contacts or list_organizations with query.

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": {
      "refs": "<refs>"
    },
    "name": "resolve_external_refs"
  }
}

Input Schema

NameRequiredDescriptionDefault
refsYesUp to 500 references (opaque URIs). A malformed one is refused, not reported missing.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and closed-world, so the safety profile is covered; the description adds real behavior beyond that — the found/missing split, that one call covers the whole batch, and that malformed references are refused rather than silently reported missing. It stops short of describing ordering, pagination, or what happens at the 500-reference boundary, which keeps it from a 5.

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?

Three short paragraphs, front-loaded with the purpose, then the definition, then the workflow. The definition sentence is necessary for an unusual concept; there is mild overlap between the malformed-refusal note here and in the schema, but nothing is padded.

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?

For a single-parameter lookup tool with an output schema, the description covers the concept, the timing relative to imports, the batch behavior, and the alternative path. The output schema carries the found/missing return shape, so nothing an agent needs to call this correctly is missing.

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 the description's parameter-relevant content (opaque URIs, malformed input refused) largely restates the schema's own ``refs`` description. What it adds is framing — that each result row should carry the reference — but no syntax or format detail beyond the schema, so the baseline of 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?

States a specific verb and resource — determine which external references this workspace already holds, and against which records — and defines what a 'reference' is (``crm://companies/123``). It also rules out a confusable read path by naming ``list_contacts``/``list_organizations`` for name-based lookup, so an agent can distinguish it from the listing siblings.

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 guidance: 'Call it before pulling records from a source', with the downstream consequence spelled out (fetch/import only what is ``missing``). It also names the alternative for a different lookup key ('to find a record by name use list_contacts or list_organizations with query'), which is a genuine exclusion rather than a vague hint.

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