Skip to main content
Glama
railsware

Coupler Analytics

by railsware

get-data

Idempotent

Retrieve and query data from Coupler.io data flow runs using SQL to extract specific information for analysis and visualization.

Instructions

Get data from a Coupler.io data flow run. Make sure to first query a sample of 5 rows from data table, e.g. SELECT * from data LIMIT 5, and then run the get-schema tool, to better understand the structure. The get-schema tool will return the JSON-encoded schema of the data table. When visualizing the data, do not try to read any files or fetch any URLs, just generate a static page and use the data you get from the tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataflowIdYesThe ID of the data flow with a successful run
executionIdYesThe ID of the last successful run (execution) of the data flow.
queryYesThe SQL query to run on the data flow sqlite file.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesThe data returned from the query.
Behavior4/5

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

The annotations include 'idempotentHint: true' and a title, but the description adds valuable behavioral context beyond this: it specifies a recommended workflow (sample query first, then get-schema), warns against certain actions (reading files or fetching URLs), and implies data retrieval from a SQLite file. This enhances transparency without contradicting annotations, as idempotency aligns with data retrieval.

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

Conciseness3/5

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

The description is appropriately sized but not optimally front-loaded; it starts with the core purpose but quickly shifts to workflow instructions. Some sentences, like the visualization warning, are useful but could be more integrated. Overall, it's concise but could be structured better to prioritize essential information first.

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?

Given the tool's complexity (3 parameters, 100% schema coverage, output schema present, and idempotent annotations), the description is fairly complete. It covers purpose, usage guidelines, and behavioral context. The output schema handles return values, so the description doesn't need to explain them. Minor gaps include lack of explicit sibling differentiation and deeper parameter insights.

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 100%, with all parameters well-documented in the input schema (dataflowId, executionId, query). The description doesn't add specific meaning beyond the schema, such as explaining parameter relationships or usage examples. However, it mentions querying a sample and using 'get-schema,' which indirectly relates to the 'query' parameter but doesn't provide additional semantic details.

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 clearly states the tool's purpose: 'Get data from a Coupler.io data flow run.' It specifies the resource (data flow run) and action (get data). However, it doesn't explicitly differentiate from sibling tools like 'get-dataflow' or 'list-dataflows' beyond mentioning 'get-schema' as a complementary tool, which slightly reduces clarity regarding sibling distinctions.

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

Usage Guidelines5/5

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

The description provides explicit usage guidelines: it instructs to first query a sample of 5 rows from the 'data' table, then run the 'get-schema' tool to understand the structure, and advises against reading files or fetching URLs when visualizing data. It names 'get-schema' as an alternative/complementary tool, offering clear context for when to use this tool in a workflow.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/railsware/coupler-io-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server