Skip to main content
Glama

Gerar valor com IA

ai_column

Generate ONE terse value (a few words / one line) for a row, given that row's known fields and a natural-language instruction — the same "Usar IA" column available in Nock. Use for classification/extraction/summarization into a single cell. A question about facts of the row's company or person (sector, products, news, technology, size, funding) first reads the company's site and runs a short web search, and returns its sourceUrl: 6 credits. From the row's fields alone (classify, summarise, translate): 1 credit. evidence says which: web, row_only or none (nothing reliable found). web forces it either way.

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": {
      "fields": "<fields>",
      "instruction": "<instruction>"
    },
    "name": "ai_column"
  }
}

Input Schema

NameRequiredDescriptionDefault
webNotrue: search the web first; false: the row's fields only. Default: decided by the instruction.
fieldsYesThe row's known fields, e.g. { "name": "...", "company": "..." }.
instructionYesWhat the column should contain, e.g. "the company's main product".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / web
      Added value: +{
      +  "description": "true: search the web first; false: the row's fields only. Default: decided by the instruction.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior2/5

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

Beyond the annotations it discloses a lot: credit cost tiers (6 with web, 1 row-only), that a sourceUrl is returned for web-sourced answers, and an evidence tri-state (web / row_only / none) describing result reliability. However, it states the tool "first reads the company's site and runs a short web search" while annotations declare openWorldHint=false, which would lead an agent to assume no external network activity — a real inconsistency in the behavioral profile.

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-loaded with the one-line what-it-does, then cost and evidence semantics, with zero filler sentences. It is dense to the point of being hard to parse in one pass (semicolon-chained pricing and evidence clauses), but every clause carries information an agent needs.

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?

There is no output schema, yet the description covers the salient return characteristics (single terse value, sourceUrl, evidence tri-state) and the cost model, which is unusually complete for a schema-less tool. Remaining gaps are minor: no mention of latency/timeout behavior for the web path or what happens when the instruction is ambiguous.

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 coverage is 100%, so all three parameters are already documented; the baseline is 3. The description adds genuine meaning about the `web` parameter beyond the schema — that its default is decided by the instruction and that "web forces it either way" — which is useful resolution of an otherwise ambiguous tri-state, but the remaining parameters get no extra semantics.

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 output shape ("Generate ONE terse value (a few words / one line) for a row") plus the inputs that drive it (row fields + natural-language instruction), and anchors it to a known product concept ("the same 'Usar IA' column available in Nock"). The row-level scope implicitly separates it from the sheet-level sibling run_sheet_ai_column without needing to name it.

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 use cases ("classification/extraction/summarization into a single cell") and a decision rule for the web path: fact questions about the row's company/person trigger site reading and a web search, while field-only work (classify, summarise, translate) does not. It does not name an explicit alternative tool or state when not to use this one, so it falls 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.