Skip to main content
Glama
Stener1

reai-mcp

by Stener1

Get one voucher

reai_get_voucher
Read-only

Fetch a single voucher by ID from ReAI to view all its postings and attachments for auditing or analysis.

Instructions

Fetch a single voucher by id, including all its postings and attachments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesVoucher id.
tenantIdNoReAI tenant (company) id. Omit to use the active tenant — set one with reai_use_tenant, or list what this token can reach with reai_whoami.
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is clear. The description adds the behavioral detail that the result includes postings and attachments, which goes beyond the basic fetch semantics but doesn't disclose any additional side effects, permissions, or rate limits. This is consistent with the annotations and adds moderate context, but not rich behavioral disclosure.

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 a single, front-loaded sentence that states the core action and the key included data. It is concise with no filler or redundancy.

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?

For a simple single-fetch operation, the description covers the essential information: what is fetched (voucher by id) and what is included in the result (postings and attachments). The schema handles parameter details and annotations cover the read-only nature, so the description is sufficiently complete for an agent to invoke it correctly.

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%, with both parameters already having descriptive text, including a helpful note on tenantId referencing reai_use_tenant and reai_whoami. The tool description itself adds no parameter-specific meaning beyond what the schema provides, so it meets the baseline three for high coverage.

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 explicitly states the verb ('Fetch'), the resource ('a single voucher by id'), and the scope ('including all its postings and attachments'). This clearly distinguishes it from sibling tools like reai_list_vouchers, which list multiple vouchers, and reai_list_postings, which list postings separately.

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?

The description does not explicitly name alternatives or state when not to use the tool. However, the phrase 'by id' clearly implies this is for fetching a specific known voucher, and the sibling names like reai_list_vouchers suggest the alternative for listing. That said, there is no explicit 'use this instead of...' guidance, so the usage context is only implied.

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/Stener1/reai-mcp'

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