Skip to main content
Glama
patrickdeanfox

Zuar Portal Blocks MCP Server

List a resource collection

list_resource
Read-only

List records of any resource type (e.g., datasource, block, query) to discover UUIDs and metadata before authoring. Supports pagination, field projection, and query parameters.

Instructions

List records of a resource (block, datasource, layout, query, theme, partial, user, group, db_modification, etc.). Use this for discovery — e.g. find a datasource UUID before authoring a block. Always returns the paged envelope { total, offset, limit, returned, truncated, records } (default page size 100, max 500) — check truncated and walk offset for the rest. Optional query adds URL query params. First pages (offset 0) fetch SERVER-SIDE when the portal honors ?limit — total is then null while truncated=true (walk until truncated=false; the portal didn't send a count). Pages are also BYTE-capped (PORTAL_LIST_BYTE_CAP, default 60k chars): an oversized page auto-projects to { id, name } and says so in note — prefer only_names/fields for discovery and get_resource (summary/fields) for detail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax records to return (default 100, max 500; paginates client-side).
queryNoOptional query-string params passed to the portal, e.g. { only_names: true }.
fieldsNoProject each record to these top-level fields (+ id) — e.g. ['name','updated_at'] to grab concurrency tokens cheaply. Takes precedence over only_names.
offsetNoRecords to skip (pagination).
resourceYesResource type. Call describe_resource for fields and supported verbs.
only_namesNoProject each record to just { id, name } — cheap discovery, works regardless of portal support.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
limitYes
totalYesnull = unknown (server-side page; the portal sent no count)
offsetYes
recordsYes
resourceYes
returnedYes
truncatedYes
auto_projectedNo
Behavior5/5

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

Detailed explanation of pagination envelope, byte-capping, projection auto-fallback, and null total on first pages. Goes far beyond the readOnlyHint and openWorldHint annotations.

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?

Front-loaded with purpose, but middle section is dense and somewhat run-on. Still efficient given the complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers all notable behaviors: pagination, byte cap, projection, performance hints, and fallback behavior. Adequately complete for a complex list tool with output schema.

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 100%, so baseline 3. Description adds usage context for only_names vs fields and explains when to use each, improving over schema alone.

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 states 'List records of a resource' with specific examples (block, datasource) and a use case (find UUID before authoring). It clearly distinguishes from siblings like find_resource.

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?

Mentions 'use this for discovery' but does not explicitly list when not to use or compare with alternative siblings like find_resource or get_resource.

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/patrickdeanfox/zuar-portal-mcp'

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