Skip to main content
Glama

StudyScout for Business

A study’s CSV

exportStudyCsv
Read-onlyIdempotent

A study’s CSV. Every row, for a spreadsheet or a script. With offset or limit, a page of its rows under its header, and X-Total-Rows and X-Next-Offset say how far it goes. Each read counts against the hourly limit on exports, so ask for the whole file once rather than many pages.

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": {
      "studyId": "<studyId>"
    },
    "name": "exportStudyCsv"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoLeft out: the study’s main CSV. results.links.csv lists the ones it has.
limitNoHow many rows, for a page.
offsetNoThe first row to return, for a page.
studyIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses a real cost constraint (each call counts against an hourly export limit) and the presence of X-Total-Rows / X-Next-Offset response headers for tracking progress. Auth requirements and failure modes are not covered, keeping it at 4.

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?

Three tight sentences that front-load the resource and then cover paging, response headers, and rate limits in order of importance. The opening 'A study's CSV' largely restates the title, which is the only waste.

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?

With no output schema, the description does the necessary work of explaining the return shape (row-per-record CSV under a header) and the pagination signals in response headers. For a read-only export tool that is close to complete, missing only error/permission behavior.

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 already 75%, yet the description still adds meaning: limit/offset produce a page returned under a repeated header row, and omitting them yields every row. It does not clarify studyId, but that is largely self-evident.

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 makes clear this retrieves a study's full CSV, one row per record, usable by a spreadsheet or script. The verb is implied rather than stated and no sibling (e.g. getStudyResults) is named to route an agent away, 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 Guidelines4/5

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

It gives concrete operational guidance: use offset/limit only to page, and prefer fetching the whole file once instead of paging repeatedly because each read burns the hourly export quota. It never states when a different tool would be more appropriate, which is the only missing piece.

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.