Skip to main content
Glama

Lookup Payment

lookup_payment

Look up payments by transaction hash, email, reference ID, customer ID, or invoice ID. Returns up to 5 matching payments with full details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query: transaction hash, email address, reference ID (UUID), customer ID, or invoice ID. The backend auto-detects the query type.
externalPlatformIdNoOptional. Auto-discovered from your account if omitted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
paymentsYes
totalCountYes

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the result limit ('Returns up to 5 matching payments') and that it returns 'full details'. However, it does not explicitly state that the operation is read-only (though 'look up' implies it), nor does it describe error cases, empty results, or rate limits. This is moderate transparency, but not exceptional.

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 consists of two concise sentences. The first sentence states the purpose with a clear verb and resource, and the second adds the key behavioral detail (result limit). There is no redundancy, fluff, or repetition of schema information. It is perfectly sized and front-loaded.

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

Completeness4/5

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

The description provides the essential information: the tool's purpose, accepted identifier types, and return limit. Since an output schema exists, the return structure is already defined. The input schema covers parameter details. The only gap is lack of explicit guidance on choosing between this and similar tools (e.g., search_payments), but given the well-specified schema and description, it is largely complete for a simple lookup tool.

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 covers both parameters with descriptions (100% coverage), so the baseline is 3. The tool description restates the query types but adds no new parameter-specific meaning beyond what the schema already provides. The description does mention the return limit, but that's about output, not parameters. Thus, it meets but does not exceed the baseline.

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 clearly states the tool's function: 'Look up payments by transaction hash, email, reference ID, customer ID, or invoice ID.' It uses a specific verb ('look up') and resource ('payments') and enumerates the query types. However, it does not explicitly differentiate itself from sibling tools like search_payments, so it doesn't fully earn a 5.

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

Usage Guidelines4/5

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

The description provides clear context on when to use this tool: whenever you have one of the listed identifiers (transaction hash, email, reference ID, customer ID, or invoice ID). It implies the tool is for targeted lookups, but it does not explicitly mention alternatives or when not to use it, such as for broader searches that might require search_payments. This aligns with 'clear context, no exclusions'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.3/5.0
Disambiguation3/5

Many tools have distinct targets, but there is notable overlap in diagnostics (check_node_sync, check_payment_readiness, payram_doctor, test_payram_connection) and a large cluster of snippet generators for different languages that could be confused. The descriptions help, but several tools appear to serve the same underlying purpose.

Naming Consistency3/5

Snake_case is used consistently, but verb prefixes vary unpredictably: check_, generate_, get_, list_, lookup_, search_, snippet_, test_, restart_, etc. Similar actions use different verbs (lookup_payment vs search_payments vs get_payment_summary; generate_payment_route_snippet vs snippet_express_payment_route), making the naming pattern less predictable.

Tool Count2/5

With 52 tools, the set is significantly over-scoped for a developer assistance server. Many tools could be consolidated (e.g., a single snippet generator with language parameters, or unified health diagnostics), and the count introduces unnecessary complexity for agents.

Completeness3/5

The surface covers payments (create, lookup, search, summary), diagnostics, docs, and many integration snippets, but lacks direct payout creation (only snippet generators), no refund or wallet creation. These are notable gaps for a payments platform server, though the snippet tools and diagnostics mitigate some dead ends.

Resources