Skip to main content
Glama
toddstoffel

FairCom MCP Server

by toddstoffel

sql_query_page

Run a read-only SQL query and fetch results one page at a time, simplifying paginated data retrieval.

Instructions

Run a read-only SQL query and return one page of results at a time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlNo
pageNo
queryNo
paramsNo
order_byNo
page_sizeNo
statementNo
continuation_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It states 'read-only,' which is a key safety property, and notes pagination, but it does not explain continuation tokens, ordering, or the relationship between multiple SQL parameters. This is a moderate level of transparency for a complex tool.

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 description is a single, concise sentence that front-loads the core purpose. It contains no redundant or extraneous content. However, the extreme brevity leaves out useful details, preventing a perfect score.

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?

Given the high complexity (8 params, no annotations, no schema descriptions), the one-sentence description is inadequate. It does not explain how pagination is controlled, how the query parameter variants relate, or how the tool handles large result sets. The presence of an output schema helps but does not compensate for the missing operational context.

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

Parameters1/5

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

Schema description coverage is 0%, and the description provides no parameter-level detail. With 8 parameters including sql, statement, query, page, continuation_token, params, order_by, and page_size, the description fails to clarify which are mutually exclusive, how pagination works, or what values are expected. This is a significant gap.

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?

The description clearly states the tool's function: 'Run a read-only SQL query and return one page of results at a time.' It specifies the verb, the resource (SQL query), and a distinguishing feature (pagination). This also differentiates it from sibling tools like sql_query and sql_execute.

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 implies usage for read-only, paginated querying, but it does not explicitly state when to choose this tool over alternatives such as sql_query or sql_execute. There is no mention of when not to use it or any exclusion criteria. The usage context is reasonable but relies on inference.

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/toddstoffel/faircom-mcp'

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