Skip to main content
Glama

Adicionar enriquecimento à planilha

add_enrichment_to_sheet
Idempotent

Adds and configures one field-specific enrichment column in a sheet the user owns. Inputs are bound to stable column ids, matching exact labels and source keys automatically. When no safe binding exists, it returns the available columns and adds nothing; a retry with inputBindings sets the binding. It configures the column but does not run it, so it spends no credits.

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

Input Schema

NameRequiredDescriptionDefault
fieldIdYes
sheetIdYes
employeeRoleNorole_employee ("Gestor por cargo") only, required there: the job to look for among the company's registered employees, e.g. "Gerente comercial", "Gerente de loja", "Diretor", "Comprador", "Gerente de marketing", "Supervisor de vendas", or other words of the job. 20 credits a mobile found, nothing otherwise.
inputBindingsNoOptional enrichment input key -> exact stable sheet column id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / employeeRole
      Added value: +{
      +  "description": "role_employee (\"Gestor por cargo\") only, required there: the job to look for among the company's registered employees, e.g. \"Gerente comercial\", \"Gerente de loja\", \"Diretor\", \"Comprador\", \"Gerente de marketing\", \"Supervisor de vendas\", or other words of the job. 20 credits a mobile found, nothing otherwise.",
      +  "maxLength": 80,
      +  "minLength": 2,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing the failure mode ('returns the available columns and adds nothing'), the automatic matching rule (exact labels and source keys), and the credit impact ('spends no credits'). Combined with idempotentHint=true and destructiveHint=false, an agent has a solid behavioral picture, though it never says what the successful response contains beyond the created column.

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

Conciseness5/5

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

Four tight sentences, each carrying distinct information: what is created, how binding resolves, what happens on failure, and what is not done. The scoping statement about credits is front-loaded at the end as a clean qualifier with no filler.

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 4-parameter nested-object tool with no output schema, the description covers creation scope, binding behavior, failure return, and side effects. It stops short of describing the successful return payload, which matters somewhat given the absence of an output schema.

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 50% schema coverage, the description compensates by explaining the semantics of inputBindings — inputs map to stable column ids and are auto-resolved by exact label/source-key matching, with the retry path when that fails. fieldId and employeeRole semantics remain solely in the schema, but employeeRole is already documented there in detail.

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 ('Adds and configures one field-specific enrichment column in a sheet') and scopes it to a sheet the user owns. It also separates itself from the execution sibling by stating 'configures the column but does not run it', which is exactly the distinction an agent needs against run_sheet_enrichment.

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 a clear operational path: attempt the add, and if no safe binding exists, retry with inputBindings once the available columns are returned. It implies but never names the follow-up execution step (run_sheet_enrichment) needed to actually populate the column, so the when-to-use chain is slightly incomplete.

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.