Skip to main content
Glama

Exportar planilha em CSV

export_sheet_csv
Read-only

Export an owned enrichment sheet to deterministic UTF-8 CSV in its visible column order, one line per sheet row (a company's columns repeat on each of its people). perCompany: one line per company instead (the list of accounts), with how many of its people the sheet has and the first one. In the dashboard the returned CSV is downloaded automatically.

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": "export_sheet_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetIdYes
perCompanyNoOne line per company (Pessoas na planilha, Primeiro decisor) instead of one per row.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / perCompany
      Added value: +{
      +  "description": "One line per company (Pessoas na planilha, Primeiro decisor) instead of one per row.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description goes beyond that by specifying deterministic UTF-8 CSV output, visible column order, per-row repetition of company columns, and automatic dashboard download. It does not cover permission failures or size limits, but for a read-only export the added behavioral detail is substantial.

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?

The definition is three sentences, front-loaded with the core export behavior. Each sentence carries relevant information. The final note about automatic download in the dashboard is a slight addition but clarifies delivery context rather than being 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?

There is no output schema, so the description must explain the returned CSV, and it does so thoroughly for both default and perCompany modes. It does not mention error or permission scenarios, but given the read-only nature and annotation support, the definition is complete enough for an agent to call correctly.

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?

Schema coverage is 50%, so the description must compensate. It does so for perCompany by explaining the resulting lines ('one line per company instead (the list of accounts), with how many of its people the sheet has and the first one'), which adds meaning beyond the schema's brief note. sheetId is only characterized as an 'owned enrichment sheet', which is useful but less precise.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Export an owned enrichment sheet to deterministic UTF-8 CSV in its visible column order, one line per sheet row.' An agent can tell exactly what is produced. It does not explicitly contrast with siblings such as export_signal_events, but the resource (enrichment sheet vs. signal events) differentiates them implicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains the perCompany mode and its output, which helps choose between row-level and company-level exports. However, it gives no guidance on when to use this export tool versus alternatives like get_sheet_rows or export_signal_events. Usage is implied rather than stated.

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.