Skip to main content
Glama

Executar coluna de IA

run_sheet_ai_column

Runs one already-configured AI or web-research column and saves a generated value for each requested row. Takes the column's exact ai: id and, optionally, the rowIds to run. It costs 1 credit per row for an AI column and 6 per row for a web-research column (aiKind "web", which reads the company's site and searches the web, citing its source); the column's creditsPerRow says which. The result's creditsCharged says how many were spent.

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

Input Schema

NameRequiredDescriptionDefault
rowIdsNo
sheetIdYes
columnIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds real substance beyond the annotations: it saves generated values per row, charges 1 credit per row for AI columns and 6 for web-research columns, explains that web-research reads the company site and searches the web with citations, and tells the agent that the column's creditsPerRow field reveals which kind it is and that the result's creditsCharged reports actual spend. Annotations already flag mutation and open-world behavior, but the credit model and per-kind behavior are described nowhere else. It stops short of covering partial failures, re-run behavior, or the 25-row cap.

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?

Three front-loaded sentences that lead with the action, then the inputs, then the cost model; almost nothing is wasted. The web-research parenthetical is dense but pays for itself by explaining the 6-credit price differential.

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?

With no output schema, the description compensates by naming the creditsCharged result field, and it covers pricing and column-kind detection. Still missing are the row-count ceiling, the default row scope, and any statement about what a run returns per row — minor but relevant for a mutating, credit-spending tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden. It clarifies columnId ('the column's exact ai: id') and that rowIds is optional, but never explains sheetId, never says what rows are processed when rowIds is omitted, and omits the schema's 25-row maximum — meaningful gaps for a cost-incurring batch operation.

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+resource with scope: it 'runs one already-configured AI or web-research column and saves a generated value for each requested row.' The phrase 'already-configured' implicitly separates it from the column-creation tool (ai_column) and the 'one column' framing distinguishes it from broader enrichment runners.

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 clear preconditions (a column must already exist and you must pass its exact ai: id) and notes rowIds is optional, plus per-row cost context that informs whether to run. It does not state when NOT to use it, what happens if rowIds is omitted, or point to a named alternative for a different scope.

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.