Skip to main content
Glama
pexcard

PEX MCP Server

by pexcard

pex_get_advanced_spending_ruleset_cards

Retrieve paginated lists of cards assigned to a specific advanced spending ruleset for business expense management.

Instructions

Get cards assigned to a specific advanced spending ruleset. Results are paginated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesRuleset ID
pageNoPage number (1-based, default: 1)
pageSizeNoResults per page (default: 50, max: 100)
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses pagination behavior, which is critical for result-set handling. However, it omits other behavioral traits: error handling (what happens if the ruleset ID doesn't exist), whether the operation is read-only (implied but not explicit), or rate limiting concerns.

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?

Two sentences with zero waste: the first states the core operation, the second states the pagination behavior. Front-loaded and appropriately sized for a simple list endpoint with three parameters.

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

Completeness3/5

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

Given the tool's simplicity (3 parameters, 100% schema coverage) and lack of output schema, the description covers the essential operation and pagination. However, it fails to address the 'advanced' qualifier's meaning or how this tool fits among the numerous spending ruleset-related siblings, leaving contextual gaps.

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?

The input schema has 100% description coverage ('Ruleset ID', 'Page number', 'Results per page'), so the schema fully documents parameter semantics. The description doesn't add additional context about the 'id' parameter referring specifically to an advanced ruleset ID, but with complete schema coverage, baseline 3 is appropriate.

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 uses a specific verb ('Get') + resource ('cards') + scope ('assigned to a specific advanced spending ruleset'), clearly identifying the operation. However, it doesn't clarify what distinguishes an 'advanced' spending ruleset from a regular one (vs. sibling pex_get_spending_ruleset_cards) or explain the relationship to pex_get_advanced_spending_ruleset.

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

Usage Guidelines2/5

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

Only mentions that results are paginated. Provides no guidance on when to use this tool versus pex_get_spending_ruleset_cards (regular vs advanced) or pex_get_card_advanced_spend_rules (the inverse relationship), nor does it mention any prerequisites like requiring a valid ruleset ID.

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/pexcard/mcp'

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