Skip to main content
Glama

Zyte MCP Server

scrapy_cloud_get_collection_records

Read records of a Scrapy Cloud collection, each with its '_key' and '_ts' write time in milliseconds. Select by exact keys, by key prefix (indexed, fast) or by write-time window; otherwise reads from the start and also reports the record count ('total', or 'total_at_least' for a very large collection). Long strings are truncated to 'max_chars'. Output passes through the conversation, so beyond a small sample use the storage REST API instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoOnly these record keys.
typeNoCollection type: 's' store (default), 'cs' cached store (records expire after a month), 'vs' versioned store, 'vcs' versioned cached store.s
countNoMaximum number of records to return.
endtsNoOnly records written before this UNIX timestamp, in milliseconds.
prefixNoOnly records whose key starts with this prefix; uses an index, prefer it over scanning.
starttsNoOnly records written at or after this UNIX timestamp, in milliseconds.
max_charsNoTruncate string values longer than this; 0 disables truncation.
collectionYesCollection name, as listed by scrapy_cloud_list_collections.
project_idYesScrapy Cloud project id (the numeric id in the dashboard URL).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the per-record fields, the 'total'/'total_at_least' count semantics, truncation behavior, and that output passes through the conversation (a token-cost warning). It omits auth/permission requirements, but the read-only nature is unambiguous.

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?

Dense but well front-loaded: purpose first, then selection modes, then the caveat about output size. Every sentence carries content, though the single long paragraph packs several distinct concerns together.

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?

No output schema exists, so the description must cover returns — and it does (_key, _ts, total, total_at_least, truncation). For a 9-parameter read tool this is nearly complete; only the absence of any permission/auth note keeps it from a 5.

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 documents every parameter and the baseline is 3. The description reinforces the selection strategy ('indexed, fast' prefix, truncation to max_chars) but adds little syntax or meaning beyond what the schema descriptions already state.

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?

States a specific verb+resource (read records of a Scrapy Cloud collection) and immediately characterizes the returned data ('_key' and '_ts' write time). It is trivially distinguishable from siblings like scrapy_cloud_delete_collection_records and scrapy_cloud_put_collection_record, which mutate the same resource.

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?

Explains the selection modes (exact keys, prefix, write-time window) and, crucially, warns that beyond a small sample the caller should use the storage REST API instead — an explicit when-not-to-use rule. It doesn't route to any sibling MCP tool by name, so it falls just short of a 5.

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