Skip to main content
Glama
Agente Finnegans

Agente Finnegans

exportar

Query workspace data with read-only SQL and export complete results to XLSX or CSV without overwriting existing files. Returns the saved path and row count.

Instructions

Ejecuta una consulta SQL de solo lectura sobre el workspace y guarda el resultado completo en un archivo xlsx o csv en la carpeta de exportación configurada (nunca pisa un archivo existente). Devuelve la ruta y la cantidad de filas.

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": {
      "sql": "<sql>"
    },
    "name": "exportar"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqlYes
nombreNo
formatoNoxlsx

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false and destructiveHint=false, and the description adds meaningful context: the query itself is read-only, the file goes to a configured export folder, an existing file is never overwritten, and the response contains the path and row count. That reconciles why a read-only query is marked non-read-only. It stops short of noting size/time limits or what happens if the query fails.

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?

Two dense sentences with no filler; the action, the safety constraint (never overwrites), and the return value are all front-loaded in order of importance.

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

Completeness3/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 usefully states the return payload (path + row count), and the no-overwrite rule covers the main behavioral risk. It remains incomplete for a 3-parameter tool because the 'nombre' parameter's meaning and the file-naming/format constraints are unaddressed.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry the parameter burden. It clarifies 'formato' by naming xlsx and csv, but never explains 'nombre' (presumably the output filename) or the default format behavior, leaving two of three parameters semantically undocumented.

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?

States a specific verb chain (execute read-only SQL, save result to file) plus the resource and destination, so the agent knows exactly what happens. It does not, however, contrast itself with siblings like 'consultar' or 'leer', which presumably run queries without writing a file.

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?

Usage is implied by the outcome: use this when you need the full result persisted as xlsx/csv rather than returned inline. There is no explicit when-to-use vs. 'consultar'/'leer' statement and no exclusions or prerequisites (permissions, size limits).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.