Skip to main content
Glama

Match CRM rows to places

match_entities
Read-onlyIdempotent

Join CRM or registry records to places collected in a completed job by place ID, phone, website domain, street address, or name, flagging shared phones/domains as ambiguous rather than guessing.

Instructions

Join your own records (CRM, registry) to the places a finished job collected, on place id, phone, website domain, street address and name. Shared phones/domains (practices, chains) are flagged as ambiguous instead of guessed. Free.

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

Input Schema

NameRequiredDescriptionDefault
rowsYes
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world traits, so the bar is lower. The description still adds real behavior beyond them: ambiguous shared phones/domains are flagged rather than guessed, and the call is free — both are decision-relevant facts an agent would not get from the annotations.

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 sentences, front-loaded with the core join operation, then the ambiguity behavior, then cost. Nothing is padded, though the one-word 'Free.' sentence is stylistically abrupt rather than fully integrated.

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

Completeness3/5

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

With only two parameters and no output schema, the definition should convey what comes back. The ambiguity-flagging note hints at the result, but it never states whether output is matched pairs, per-row status, or unmatched leftovers — a meaningful gap for a tool with no output schema.

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 0%, so the description must compensate. It does partly: 'rows' is explained as your own records and the match keys (place id, phone, domain, street address, name) map onto the row fields, and 'finished job' implies job_id. However, job_id is never explicitly described and the 500-row limit is unmentioned.

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 uses a specific verb (join/match) and names both sides of the operation: the caller's own CRM/registry rows and the places a finished job collected. This distinguishes it from discovery-style siblings such as find_places or enrich_leads, though no sibling is named explicitly.

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?

Clear context is given: use it when you already hold your own records and have a finished job's collected places. The prerequisite ('a finished job') is stated, but there is no explicit when-not guidance or named alternative.

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