Skip to main content
Glama

Get invoice

get_invoice
Read-only

Fetch a specific VPSnet invoice using its hash from the invoice list to review billing details.

Instructions

Get a specific invoice by hash

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hashYesInvoice hash from list_invoices

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds only that the lookup is singular and hash-based; it does not disclose return format, permissions, or any other behavioral traits beyond what annotations and the schema already provide.

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 waste. It says exactly what the tool does and nothing extraneous.

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?

For a simple read-by-ID tool with rich annotations and a fully described single-parameter schema, the description is nearly complete. It could mention the list_invoices alternative or the returned object, but those are minor gaps for this tool's complexity.

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%, and the single parameter is fully documented in the schema as 'Invoice hash from list_invoices'. The description restates 'by hash' without adding format details, constraints, or examples, so 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 states a specific verb ('Get') and resource ('specific invoice') plus retrieval key ('by hash'). It implicitly distinguishes singular retrieval from list_invoices, but does not explicitly name the sibling or any exclusions.

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?

Usage is implied: call this when you have an invoice hash and need the corresponding invoice. There is no explicit when-to-use guidance, no when-not-to-use guidance, and no mention of the list_invoices alternative in the description itself.

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

Deploy Server

Other Tools