Skip to main content
Glama

Executar enriquecimento da planilha

run_sheet_enrichment

Run one already-configured enrichment column and persist its waterfall results in the sheet. Takes the exact enrichment column id (as the sheet's rows list it) and optionally the row ids to process; without them, the first 25 rows that have any value. For several columns pass columnIds: they run in order, company domain, LinkedIn, work e-mail, then phone or WhatsApp, each reading what the one before found. A contact's reveal column id (system:reveal:linkedinUrl, system:reveal:email or system:reveal:phone) runs that contact's enrichment column, added first when the sheet has none. Can spend enrichment credits; the result's creditsCharged says how many.

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

Input Schema

NameRequiredDescriptionDefault
forceNoLook up again the rows that already hold the field. Only on the user's explicit ask.
rowIdsNo
sheetIdYes
columnIdNoOne enrichment column, or a contact column's revealColumnId. Use columnIds for several.
columnIdsNoSeveral enrichment columns, run in dependency order (domain, LinkedIn, e-mail, phone).
confirmedNoTrue only after the user said yes to this run's quote.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / columnId / description
      Previous value: -"One enrichment column. Use columnIds for several."New value: +"One enrichment column, or a contact column's revealColumnId. Use columnIds for several."
  2. Changed3 schema fields changed
    • addedInput schema / properties / columnId / description
      Added value: +"One enrichment column. Use columnIds for several."
    • addedInput schema / properties / columnIds
      Added value: +{
      +  "description": "Several enrichment columns, run in dependency order (domain, LinkedIn, e-mail, phone).",
      +  "items": {
      +    "maxLength": 300,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "sheetId",
      -  "columnId"
      -]New value: +[
      +  "sheetId"
      +]
  3. Changed2 schema fields changed
    • addedInput schema / properties / confirmed
      Added value: +{
      +  "description": "True only after the user said yes to this run's quote.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / force
      Added value: +{
      +  "description": "Look up again the rows that already hold the field. Only on the user's explicit ask.",
      +  "type": "boolean"
      +}
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent, open-world behavior, so the description clears the lower bar by adding what those don't cover: credit consumption and that the response reports creditsCharged. It still omits what happens on partial failure or whether re-running duplicates work, but the cost disclosure is the critical piece.

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?

Front-loads the verb and resource, then layers defaults, multi-column ordering, and cost in short sequential sentences. Dense but every sentence carries operational information; the reveal-column sentence is the only one that takes a second read.

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

Completeness4/5

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

For a non-idempotent, credit-spending tool with no output schema, it covers inputs, defaults, ordering dependencies, and cost signaling, so an agent can invoke it correctly. Remaining gaps are error and partial-completion semantics rather than invocation essentials.

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?

Adds meaning beyond the schema's 67% coverage: rowIds defaults to the first 25 populated rows, columnIds run in a stated dependency order (domain, LinkedIn, e-mail, phone) where each reads the prior result, and a reveal column id resolves to that contact's enrichment column. Only force and confirmed are left to their schema descriptions.

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?

States a specific verb and resource ("Run one already-configured enrichment column and persist its waterfall results in the sheet") and the qualifier "already-configured" separates it from the sibling that adds enrichment columns. An agent can tell this executes an existing column rather than creating one.

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?

Gives concrete operating context: exact column id as the sheet's rows list it, optional rowIds with a stated default (first 25 rows that have any value), and the columnIds path for several columns. It does not explicitly name an alternative tool or say when not to use this one, so it stops short of full routing 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.