Skip to main content
Glama

Check records

check_records
Read-only

FREE (up to 25 records without a key, 1000 with one) — Use when your user has contact or company records (a CSV, a CRM export, pasted rows) or bare e-mail addresses to check, and wants to know what is wrong with them. check contact records for errors with 100+ checks: typos in e-mail domains, role mailboxes (office@), duplicates and near-duplicates, phone codes that do not fit the country, LinkedIn status text in names, placeholders … Over MCP the answer is compact: checks (what is wrong, with the records' 0-based positions), fixes (position → key → the one value to write; "" empties it) and duplicates (position to leave out → the position kept, which got what it lacked in its fixes). Have your records their own id? Pass id_field and they are named by it. Show your user the changes before you apply them. Nothing is stored or changed.

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": "check_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
aiNoAlso run the AI checks (fake names, a person's name as company, department instead of job title, city vs country) — PAID by use, needs a key; never above the `max` this check names in its `options` when called without `ai` (call it so first)
viewNo`compact` (the default over MCP): `checks` with positions, `fixes`, `duplicates` — small, for applying. `records` (the default over REST): one entry per record with its findings, messages and from → to — for a person reading it, or an automation working per record. Send `compact` for more than a few hundred records
recordsYesRecords as JSON objects. Any key names (e.g. first_name, last_name, email, company_name, domain, linkedin_profile_url, job_title, phone, country, city — or Vorname, Firma, Mail …); the answer says how each key was read.
id_fieldNoThe key that identifies each of your records (e.g. hs_object_id, a CRM id): the answer names records by its value (`ids`, and as the keys of `fixes` / `duplicates`) instead of their position — safe across calls in parts. Every record needs its own value; the key itself is not checked
languageNoLanguage of `tell_your_user` (default en)
categoriesNoOnly these areas (any other value is an error)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / id_field
      Added value: +{
      +  "description": "The key that identifies each of your records (e.g. hs_object_id, a CRM id): the answer names records by its value (`ids`, and as the keys of `fixes` / `duplicates`) instead of their position — safe across calls in parts. Every record needs its own value; the key itself is not checked",
      +  "type": "string"
      +}
    • addedInput schema / properties / view
      Added value: +{
      +  "description": "`compact` (the default over MCP): `checks` with positions, `fixes`, `duplicates` — small, for applying. `records` (the default over REST): one entry per record with its findings, messages and from → to — for a person reading it, or an automation working per record. Send `compact` for more than a few hundred records",
      +  "enum": [
      +    "compact",
      +    "records"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / ai / description
      Previous value: -"Also run the AI checks (fake names, a person's name as company, department instead of job title, city vs country) — PAID, needs a key; the price range is in `options`"New value: +"Also run the AI checks (fake names, a person's name as company, department instead of job title, city vs country) — PAID by use, needs a key; never above the `max` this check names in its `options` when called without `ai` (call it so first)"
    • addedInput schema / properties / records / minItems
      Added value: +1
  3. Changed2 schema fields changed
    • removedInput schema / properties / records / items / propertyNames
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / records / minItems
      Removed value: -1
  4. Changed2 schema fields changed
    • changedInput schema / properties / categories / description
      Previous value: -"Only these areas: name, email, company, linkedin, job_title, phone, address, gender, duplicates, completeness, cross_field, compliance, campaign"New value: +"Only these areas (any other value is an error)"
    • addedInput schema / properties / categories / items / enum
      Added value: +[
      +  "name",
      +  "email",
      +  "company",
      +  "linkedin",
      +  "job_title",
      +  "phone",
      +  "address",
      +  "gender",
      +  "duplicates",
      +  "completeness",
      +  "cross_field",
      +  "compliance",
      +  "campaign"
      +]
  5. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false), and the description still adds substantial context: free-tier limits (25 records without a key, 1000 with), that AI checks are paid and need a key, the default `view` differing between MCP and REST, and the explicit guarantee that nothing is stored or changed. This is behavior the agent could not learn from annotations or schema.

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-loading the pricing/limit note and the use-case sentence is effective, and despite em-dash-heavy prose nearly every clause carries information. The middle passage describing `checks`/`fixes`/`duplicates` is dense and could be tightened, but with no output schema it earns its space.

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?

For a six-parameter, no-output-schema tool the description covers returns, cost model, defaults and the apply-after-confirmation workflow. What is missing is error behavior for invalid categories or oversized batches, and any note on rate limits beyond the record-count tiers.

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 the baseline is 3, but the description clarifies the consequences of choices: passing `id_field` renames records by that value and makes results stable across batched calls, and `compact` vs `records` changes the entire answer shape with a size threshold. Those are semantic consequences rather than restatements of the schema.

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 gives a specific verb and resource ('check contact records for errors') and then enumerates concrete check families: e-mail domain typos, role mailboxes, duplicates, phone/country mismatches, LinkedIn status text in names, placeholders. That is far more specific than the title, but it never names a sibling tool, so an agent must still infer how this differs from verify_email or check_list.

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?

It states the trigger condition explicitly: use when the user has contact or company records (CSV, CRM export, pasted rows) or bare e-mail addresses and wants to know what is wrong. It also prescribes a workflow step ('Show your user the changes before you apply them') and an ordering rule for the `ai` flag. It stops short of naming when-not-to-use or a specific alternative tool.

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.