Skip to main content
Glama

Enriquecer campo

enrich_field

Enrich ONE specific sheet field for one person/company row. Uses the same field catalogue and provider cascade as the dashboard, stops as soon as that field is found, and returns found/not_found/error deterministically. Valid field ids and their inputs come from the enrichment field catalogue. First it looks the lead up in this workspace (people sheets, campaigns and kept briefs, by email, LinkedIn, or full name with the company): a value already saved comes back free, with savedIn naming the place it was saved. Only a found value is charged: creditsCharged is what this call cost, 0 when nothing was found, the lookup failed or the value was already saved. not_found with sourcesUnanswered means the sources that answered had nothing but that many others did not answer in time, so a later retry may find it; error means no source answered at all. Every result names the person it was looked up for (person: name, LinkedIn, company), so parallel calls are told apart by person, not by order. A mobile is checked against the registry's owner of the number before it is kept: phoneOwner is confirmed (the owner has the person's name) or unconfirmed (the registry has no name for it); a number of someone else is dropped and not charged (phonesDiscarded counts them). A mobile found for a person of this workspace's campaigns or people sheets is saved there (prospectId, or sheetId and rowId, identify the person; the LinkedIn profile also matches): savedTo says where.

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": {
      "fieldId": "<fieldId>"
    },
    "name": "enrich_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
cnpjNoBrazilian company registry number.
emailNo
phoneNo
rowIdNoThe sheet row this lookup is for, with sheetId: a mobile found is saved to its phone column.
fieldIdYesField id from the enrichment field catalogue, e.g. "work_email".
refreshNoTrue skips what this workspace has saved and looks the value up outside again.
sheetIdNoThe people sheet of the row this lookup is for, with rowId.
fullNameNo
locationNoPerson location hint used to reject off-country phones.
prospectIdNoThe campaign prospect this lookup is for, when known: a mobile found is saved to them.
companyNameNo
linkedinUrlNo
companyDomainNo
personalEmailNoPersonal/webmail address used by phone finders.
providerOrderNoOptional exact provider cascade. Every name must belong to the selected field. Omit it to use the field's configured cost-conscious order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / fieldId / description
      Previous value: -"Field id from list_enrichment_fields, e.g. \"work_email\"."New value: +"Field id from the enrichment field catalogue, e.g. \"work_email\"."
    • changedInput schema / properties / refresh / description
      Previous value: -"Only when the user asks to look it up outside again: skips what this workspace has saved."New value: +"True skips what this workspace has saved and looks the value up outside again."
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

This goes well beyond the annotations: it spells out the deterministic found/not_found/error outcomes, that only found values are charged (creditsCharged, 0 otherwise), the difference between not_found with sourcesUnanswered and error, phone registry owner verification with phonesDiscarded, and where values get saved (savedIn/savedTo/prospectId/sheetId/rowId). That's unusually rich disclosure for a mutating, open-world enrichment call that writes results back to sheets.

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?

The purpose is front-loaded and nearly every sentence carries distinct information about charging, saving, or status semantics. It is a dense single block with long run-on sentences and heavy parenthetical nesting that could be broken into bullets for faster scanning.

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?

With 15 parameters, no output schema, and open-world behavior, the description compensates fully by narrating the result shape (person, savedIn, savedTo, creditsCharged, phoneOwner, phonesDiscarded, sourcesUnanswered) and the exact conditions producing each status. An agent could call and interpret this correctly without the schema alone.

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 60% across 15 parameters, so the schema carries much of the load, but the description adds meaning: fieldId must come from the catalogue, refresh skips saved values, providerOrder falls back to the field's cost-conscious order, and sheetId/rowId/prospectId identify where a found mobile is saved. Only a few inputs (email, phone, cnpj) are left to their schema definitions.

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 opens with a specific verb and resource: 'Enrich ONE specific sheet field for one person/company row.' The capitalized ONE and 'specific' signal single-field scope, implicitly contrasting with enrich_field_batch, though the sibling is never named. An agent can tell what the tool does at a glance.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains the saved-value shortcut and that refresh=true forces an external re-lookup, and says field ids come from the field catalogue, but it never explicitly says when to prefer enrich_field_batch or which inputs are optional/required for a lookup. Usage is implied through behavior rather than stated as routing rules.

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.