Skip to main content
Glama

query_transaction

Retrieve transaction details using a transaction reference to verify payment status and history.

Instructions

Query transaction details by reference.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tran_refYesTransaction reference to query
Behavior2/5

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

With no annotations, the description carries full responsibility for disclosing behavior. It implies read-only via 'query' but does not explicitly state side effects, return format, error behavior, or prerequisites. There is no additional behavioral context beyond the basic action.

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 with zero unnecessary words. It directly states the purpose without padding.

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?

The tool has a single parameter and no output schema, so the description should clarify what 'details' returns. It does not specify the return values or any limitations, leaving some ambiguity. The sibling context helps, but the description alone is minimally adequate.

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% since tran_ref has a description ('Transaction reference to query'). The description's 'by reference' adds no new meaning beyond the schema, so the baseline 3 is appropriate.

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 'Query transaction details by reference' uses a specific verb ('query') and resource ('transaction details') with clear scope ('by reference'). It distinguishes from siblings like list_transactions (which lists all transactions) by implying a single reference lookup.

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?

No guidance is provided on when to use this tool versus alternatives. It does not mention exclusions or when to prefer list_transactions or other sibling tools. The only implied usage is having a transaction reference, but this is not explicitly stated.

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/theYahia/paytabs-mcp'

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