Skip to main content
Glama

Buscar telefone do sócio pelo CNPJ

find_company_partner_phone

For Brazilian companies, finds the partner or administrator listed in the company's public partner registry (Receita Federal) by its CNPJ, and looks up that person's own mobile phone (personal data). Takes 1 to 25 entries in people, looked up 5 at a time. Each company is identified by its CNPJ; the partner's LinkedIn profile or e-mail, when known, help confirm the person. First it checks this workspace (people sheets, campaigns and kept briefs): a value already saved comes back free, with savedIn naming where it was saved; refresh true skips that check. Otherwise it asks Nock's data sources one after another and stops at the first that finds it. value is the partner's mobile number, checked against the registry's owner of the line as phoneOwner (confirmed or unconfirmed); a number of someone else is dropped and not charged (phonesDiscarded). A number found for a person of this workspace's campaigns or people sheets is written into that person's empty phone field (prospectId, or sheetId with rowId), and savedTo says where. Returns one entry per person or business in the order sent (index), each with person (whose it is), status found, not_found or error, value and creditsCharged, plus the totals found, notFound, failed and creditsCharged. not_found with sourcesUnanswered means some sources did not answer in time and a later try may find it; error means no source answered. The same entry sent twice is looked up once (sameAsIndex). Costs 20 credits per value found. Nothing is charged when it is not found, the lookup fails or the value was already saved. A lookup can take up to about a minute per entry.

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

Input Schema

NameRequiredDescriptionDefault
peopleYesWho to look up, 1 to 25 entries, each with what is known of them.
refreshNoTrue skips what this workspace has saved and looks the value up outside again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only flag openWorldHint=true and readOnlyHint=false; the description goes far beyond them with credit cost (20 per value found, free when cached or not found), sequential source querying that stops at the first hit, line-owner verification via phoneOwner, dropping mismatched numbers without charge, automatic write-back into empty phone fields, dedupe via sameAsIndex, and a ~1 minute per-entry latency. This is unusually rich behavioral disclosure for a non-read-only, open-world tool.

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?

It is a single dense paragraph of roughly 250 words, but the purpose is front-loaded and nearly every sentence carries operational information (cost, caching, status codes, return fields). Minor tightening is possible, yet there is no filler or repetition.

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 and a non-trivial, credit-charging, mutating lookup, the description covers the return shape in detail: index, person, status (found/not_found/error), value, creditsCharged, savedIn/savedTo, phoneOwner, phonesDiscarded, sameAsIndex, and totals. Nothing essential for correct invocation or interpretation is missing.

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; the description still adds value by explaining that people takes 1–25 entries looked up 5 at a time, that CNPJ identifies the company while LinkedIn/e-mail only help confirm the person, and that refresh=true bypasses the workspace-saved values. The added detail on concurrency and confirmation logic is not in 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 opens with a specific verb and resource: it finds the partner/administrator in the company's public partner registry (Receita Federal) by CNPJ and looks up that person's personal mobile. The CNPJ-anchored, partner-specific scope distinguishes it from a generic person lookup, though no sibling is named explicitly to sharpen the contrast.

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?

Usage is implied by the scope (you have a CNPJ and want the partner's phone) and it explains when to set refresh=true to skip the workspace cache. It never states when NOT to use it or points to an alternative such as find_person_mobile_phone or find_decision_maker_mobile, so the agent must infer the routing.

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.