Skip to main content
Glama
cletcher

Chaprola MCP Server

by cletcher

chaprola_query

Run SQL-free queries on data files with filtering, field selection, aggregation, sorting, joins, pivots, and Mercury scoring. Extract insights from structured data without writing SQL.

Instructions

SQL-free data query with WHERE, SELECT, aggregation, ORDER BY, JOIN, pivot, and Mercury scoring

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesData file to query
joinNoJoin: {file, on, type, method}
limitNoMax results to return
pivotNoPivot: {row, column, values, totals, grand_total}
whereNoFilter: {field, op, value}. Ops: eq, ne, gt, ge, lt, le, between, contains, starts_with
offsetNoSkip this many results
selectNoFields to include in output
mercuryNoMercury scoring: {fields: [{field, target, weight}]}
projectYesProject name
order_byNoSort: [{field, dir}]
aggregateNoAggregation: [{field, func}]. Funcs: count, sum, avg, min, max, stddev
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It lists query operations but does not state whether this is strictly read-only, how it handles limits or offsets, what happens when data is missing, or what the response format looks like. The implicit read-only nature of a 'query' is not made explicit, and no side-effect or error behavior is described.

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?

The description is a single, efficient sentence that immediately states what the tool does. Every word contributes value, with no redundancy or filler. It is appropriately front-loaded and concise.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This tool has 11 parameters, nested objects, and no output schema, creating a need for richer context. The description only lists capabilities and fails to explain required inputs, join/pivot/mercury object structures, return values, pagination, or integration with sibling tools. It is too sparse for the complexity involved.

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 the schema already explains all parameters including nested objects. The description adds high-level feature names (WHERE, SELECT, aggregation, etc.) that map to parameters, but it does not add semantics beyond those already present in the schema. It earns the baseline score of 3.

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 identifies the tool as a data query operation with specific capabilities (WHERE, SELECT, aggregation, ORDER BY, JOIN, pivot, Mercury scoring). It is distinct from simpler lookup tools, but it does not explicitly distinguish itself from sibling tools like chaprola_search or chaprola_fetch, so it stops short of a 5.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives such as chaprola_search or chaprola_sort. It does not mention prerequisites like the required project and file parameters, nor does it state any exclusions or limitations. The usage context is only implied by the word 'query'.

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/cletcher/chaprola-mcp'

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