Skip to main content
Glama

Stock Data Archive

Files of a purchase

list_purchase_files
Read-only

For a buyer: the files of one purchase, each with its size, checksum and download address. Download an address with the same Authorization header. Needs the buyer's API token.

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": {
      "purchase_id": "<purchase_id>"
    },
    "name": "list_purchase_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoOnly files for this day or later, as YYYY-MM-DD.
cursorNonext_cursor from the previous page, to continue the list.
purchase_idYesThe id of a purchase from list_purchases.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description adds useful context by stating that the buyer's API token is required and that download addresses must use the same Authorization header. It does not discuss pagination behavior despite having a cursor parameter.

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 short sentences front-load the audience and resource, with no extraneous wording. The download instruction is useful but slightly awkwardly phrased.

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 helpfully names the returned fields (size, checksum, download address) and covers authentication for downloads. Pagination and date filtering are left entirely to the schema, which is adequate given 100% schema coverage.

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%, so the schema already explains purchase_id, since, and cursor. The description adds no further parameter meaning beyond the schema baseline.

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 resource as the files belonging to a single purchase, which distinguishes it from list_purchases. It lacks an explicit verb like 'list', but the intended operation is easy to infer.

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 audience is stated ('For a buyer') and the authentication requirement is mentioned, but there is no explicit guidance on when to use this tool versus alternatives, or when not to use it.

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.

Resources