Skip to main content
Glama

Buscar e-mail do decisor da empresa

find_decision_maker_email

For small businesses (a school, a market, a clinic), finds the e-mail address of who decides there (personal data). Takes 1 to 25 entries in people, looked up 5 at a time. Each business is identified by its name and city, its CNPJ, its site domain or a phone it publishes. 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 decision maker's e-mail address. Nothing is written into a sheet or a campaign. 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 8 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_decision_maker_email"
  }
}

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.6/5.0
Behavior5/5

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

Beyond the annotations (openWorld=true, destructive=false, idempotent=false) it discloses pricing (8 credits per value found, free when not found/failed/already saved), latency (up to ~1 minute per entry), non-mutation of sheets and campaigns, sequential source fallback that halts at the first hit, and deduplication of repeated entries via sameAsIndex. That is exactly the operational context annotations cannot convey.

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?

A single dense block with no filler sentences - each clause carries cost, behavior, or return-shape information. It is front-loaded with the purpose, though the middle section (dedup, error semantics, pricing) could be broken into shorter units 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 no output schema, the description fully specifies the result shape: one entry per person/business in the sent order with index, person, status (found/not_found/error), value, creditsCharged, plus aggregate totals and the sourcesUnanswered nuance. Nothing material an agent needs to call this correctly and interpret the response 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 goes further by explaining that an entry can be identified by any of companyName+location, cnpj, companyDomain or phone, and by spelling out the effect of refresh=true. It also explains the returned index ordering relative to the submitted entries.

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 names a specific verb and resource - finding the e-mail address of the person who decides at a small business - and the word 'e-mail' implicitly separates it from the mobile and WhatsApp siblings in the catalog. Scope (small businesses: school, market, clinic) and the returned value ('value is the decision maker's e-mail address') are stated 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?

It clearly frames the use case and the lookup strategy: check the workspace first, escalate to Nock's external sources only if nothing is saved, and set refresh=true to skip the cache. It does not explicitly route the agent to the phone/WhatsApp/contacts siblings, so the when-not-to-use side is only inferable from the word 'e-mail'.

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.