Skip to main content
Glama
colecantu904

virtuous-mcp

by colecantu904

query_all

Automatically paginate through query results to collect up to a specified number of records, handling skip/take internally.

Instructions

Auto-paginate a query and return up to max_records records. Read-only.

Convenience over query_records: instead of you managing skip/take, this loops through pages (each capped at 1000 by the API) until it has max_records, the result set is exhausted, or the QUERY_ALL_HARD_CAP safety ceiling is hit. Because every page is a request against the ORG-WIDE rate budget, keep max_records as small as the task needs and prefer a precise groups filter. The response includes a rate_limit snapshot so you can see remaining budget after the sweep.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupsNoFilter groups (same structure/value-shape rules as query_records): [{"conditions": [{"parameter", "operator", "value"}, ...]}]. Conditions within a group are AND-ed; groups are OR-ed. Multi-value ops use `values`: [...]; Between uses `value` + `secondaryValue`; unknown `parameter` names are rejected.
sort_byNoField to sort by.
page_sizeNoRecords per page request (max 1000).
descendingNoSort descending.
full_detailNoUse full-detail variant (Contact/Gift only).
max_recordsNoStop after collecting this many records (hard cap 10000).
object_typeYesObject type to query, e.g. 'Contact' or 'Gift'.
Behavior5/5

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

Since no annotations are provided, the description fully discloses behavioral traits: it loops through pages each capped at 1000, stops under various conditions, includes a rate_limit snapshot in the response, and is read-only. It also warns about org-wide rate budget consumption. No contradictions with annotations (none exist).

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 two well-structured paragraphs with the main purpose front-loaded. Every sentence adds value, avoiding fluff. It is concise yet informative, covering key behavioral aspects and usage tips efficiently.

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?

Given the tool's complexity and lack of output schema, the description covers most important aspects: pagination behavior, caps, rate limit considerations, and distinction from sibling tool. It falls short of fully specifying the return format beyond the rate_limit snapshot, but is otherwise complete for an auto-pagination query tool.

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?

Input schema coverage is 100%, so baseline is 3. The description does not add additional semantics to individual parameters beyond what is already in the schema; it provides overall context and behavior but does not enhance parameter understanding beyond schema descriptions.

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 purpose: 'Auto-paginate a query and return up to max_records records. Read-only.' It uses a specific verb ('auto-paginate') and resource ('query'), and explicitly distinguishes it from the sibling tool 'query_records' by highlighting its convenience and automated pagination.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool versus alternatives: 'Convenience over query_records: instead of you managing skip/take, this loops through pages...' It also gives best practices, such as keeping max_records small and preferring precise groups filters, and mentions the safety ceiling and rate budget impact.

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/colecantu904/virtuous-mcp'

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