Skip to main content
Glama

Descobrir decisores

discover_decision_makers

Discover a specific decision-maker profile for companies in an owned sheet and add them to the same sheet, each as a person of their company; the company's row without a person becomes its first person. A dedicated multi-company action, separate from the enrichment-field catalogue. Uses all available company context (name, trade/legal name, domain, corporate email, CNPJ, partners, industry and location), takes the selected rowIds or, without them, the sheet's companies without a person (10 per call), and can also enrich requested contact fields. The owners profile uses CNPJ partners; functional profiles such as sales search matching job titles instead. destinationSheetId puts the people in another sheet.

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": {
      "sheetId": "<sheetId>",
      "targetProfile": "<targetProfile>"
    },
    "name": "discover_decision_makers"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowIdsNoOptional selected source row ids. Omit only for the whole sheet.
sheetIdYesSource company sheet UUID.
contactFieldsNoOptional fields to enrich for each decision maker.
targetProfileYesRequired target: owners for CNPJ owners/partners, or a functional leadership profile.
customJobTitlesNoRequired job titles only when targetProfile is custom.
includeRejectedNotrue only for companies the person named although they failed the sheet's rules ("Passou nas regras" = Não). By default those are left out and not charged.
destinationSheetIdNo
quantityPerCompanyNo
destinationSheetNameNo
inferDomainFromCorporateEmailNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / includeRejected
      Added value: +{
      +  "description": "true only for companies the person named although they failed the sheet's rules (\"Passou nas regras\" = Não). By default those are left out and not charged.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false; the description adds real value on top by disclosing the structural mutation ('the company's row without a person becomes its first person'), the 10-per-call batch, the credit/cost implication ('left out and not charged'), and that destinationSheetId moves people to a different sheet. It stays silent on what happens to people already attached to a row on a re-run, leaving duplicate behavior to the idempotentHint alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action is front-loaded, but the text is a chain of semicolon-joined clauses that packs five distinct ideas into two run-on sentences, and phrasing like 'each as a person of their company' takes parsing to decode. Nothing is strictly wasted, yet the density makes it harder to scan than it needs to be for a five-sentence description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter, credit-consuming mutation with no output schema, the description covers the important selection and targeting logic but omits what the call returns (how many people were found or added) and leaves quantityPerCompany, destinationSheetName and inferDomainFromCorporateEmail unexplained. An agent could invoke it correctly, but it would have to read the schema to know how many people per company it will actually get.

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?

With 60% schema coverage, the description meaningfully supplements several parameters: rowIds defaulting behavior, targetProfile semantics and its owners-versus-functional split, contactFields enrichment, destinationSheetId redirection, and includeRejected tied to the 'Passou nas regras' flag. It says nothing about quantityPerCompany (default 3, max 5), destinationSheetName, or inferDomainFromCorporateEmail, so part of the schema gap remains unfilled.

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 opening clause states a specific verb, resource and side effect: discover a decision-maker profile for companies in an owned sheet and add them to that same sheet. It also draws an explicit boundary against the sibling enrichment path ('A dedicated multi-company action, separate from the enrichment-field catalogue'), so an agent can tell what this tool is and is not without opening the schema.

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 gives concrete selection rules: use rowIds when rows are selected, otherwise default to the sheet's companies without a person, capped at 10 per call, and it explains when to pick owners versus a functional profile (owners uses CNPJ partners, functional profiles match job titles). It does not name an explicit alternative tool or state when not to use this one, so it stops short of full when/when-not guidance.

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.