Skip to main content
Glama

Enriquecer campo de várias pessoas

enrich_field_batch

Enrich ONE field for up to 25 people in one call: the same lookup as the single-person enrichment for each person, run on Nock's side 5 at a time, so a list does not wait for one person after another (a mobile can take over a minute a person, so 10 mobiles take about 2 to 3 minutes and 25 about 6). results has one entry per person, in the order sent (index), each with the same fields as the single-person enrichment: person (whose it is), status found/not_found/error, value, phoneOwner, phonesDiscarded, creditsCharged, savedIn, savedTo, sourcesUnanswered (not_found while some sources did not answer in time: that person may be tried again later; error only when no source answered). Each value belongs to the person named in its entry. Only found values are charged, each at the field's price; creditsCharged at the top is the sum. The same person sent twice is looked up once (sameAsIndex, creditsCharged 0).

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>",
      "people": "<people>"
    },
    "name": "enrich_field_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
peopleYesThe people to look up, each with the same inputs as a single-person enrichment (name, company, LinkedIn, e-mail, prospectId or sheetId and rowId...).
fieldIdYesEnrichment field id, e.g. "work_email".
refreshNoOnly for an explicit request to look it up outside again: skips what this workspace has saved.
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. Changed3 schema fields changed
    • changedInput schema / properties / fieldId / description
      Previous value: -"Field id from list_enrichment_fields, e.g. \"work_email\"."New value: +"Enrichment field id, e.g. \"work_email\"."
    • changedInput schema / properties / people / description
      Previous value: -"The people to look up, each with the same inputs as enrich_field (name, company, LinkedIn, e-mail, prospectId or sheetId and rowId...)."New value: +"The people to look up, each with the same inputs as a single-person enrichment (name, company, LinkedIn, e-mail, prospectId or sheetId and rowId...)."
    • 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: +"Only for an explicit request to look it up outside again: skips what this workspace has saved."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses substantial behavior: internal concurrency of 5, credit charging only on found values at the field's price, top-level creditsCharged as a sum, deduplication of repeated people via sameAsIndex with 0 credits, and the not_found vs sourcesUnanswered vs error distinction with retry semantics. This is exactly the operational context annotations cannot carry.

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 core action and limit are front-loaded, and the response/credit semantics follow logically. The parenthetical timing aside and the unattributed one-liner 'Each value belongs to the person named in its entry' add length, but nearly every sentence carries real information for a nontrivial batch tool.

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 no output schema, the description fully compensates by enumerating the result fields (person, status, value, phoneOwner, phonesDiscarded, creditsCharged, savedIn, savedTo, sourcesUnanswered) and their meanings. An agent can interpret the response correctly without any additional documentation.

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 adds meaning beyond the schema by tying fieldId to pricing and provider order, and by explaining the dedupe behavior of the people array. refresh and providerOrder are not discussed, which is the only gap.

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 opens with a specific verb, resource, and scope: 'Enrich ONE field for up to 25 people in one call.' It explicitly frames itself as the batch counterpart of the single-person enrichment, so an agent can distinguish it from enrich_field by input size alone.

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?

Usage context is clear: use it when a list must be processed without waiting person by person, with concrete timing expectations (10 mobiles ≈ 2-3 minutes, 25 ≈ 6). It does not explicitly say 'use enrich_field for a single person,' but the parallel is stated plainly enough that the choice is inferable.

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.