Skip to main content
Glama
pexcard

PEX MCP Server

by pexcard

pex_get_advanced_spending_ruleset

Retrieve a specific advanced spending ruleset by ID to manage business expense controls and spending policies within the PEX Card system.

Instructions

Get a specific advanced spending ruleset by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesRuleset ID
Behavior2/5

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

No annotations provided, so description carries full burden. While 'Get' implies a read operation, there's no disclosure of error behavior (e.g., 404 vs empty response), rate limits, or whether the operation is idempotent/safe.

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?

Single sentence, front-loaded, no redundancy. However, given the rich ecosystem of similar tools, it may be underspecified rather than optimally concise.

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?

Sufficient for a simple lookup tool with one required parameter. Given no output schema exists and the tool has many similarly-named siblings, additional context (e.g., sample use case) would improve completeness.

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% ('Ruleset ID'), so baseline applies. Description adds 'by ID' which confirms the usage pattern but adds minimal semantic depth beyond the schema's description.

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?

Clear verb (Get), resource (advanced spending ruleset), and lookup method (by ID). Aligns with naming convention to distinguish from 'spending_ruleset' (non-advanced) and 'list_advanced_spending_rulesets' (plural), though it doesn't explicitly clarify what makes it 'advanced'.

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?

Provides no guidance on when to use this single-item lookup versus the list variant (pex_list_advanced_spending_rulesets), nor mentions that an ID must likely be obtained from a list operation first. No prerequisites or error conditions mentioned.

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