Skip to main content
Glama

Knot Connection

Read an invoice

get_invoice

Read one invoice by its reference.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ref": "<ref>"
    },
    "name": "get_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden yet says nothing about read-only idempotence, permission or auth requirements, rate limits, or what happens when the reference does not resolve. For a single-record lookup tool, the not-found and error behavior is the most important missing disclosure.

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?

One short sentence, front-loaded with the verb and resource, with no filler or redundant restatement of the title. It is efficient, though the terseness is under-specification rather than true economy.

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

Completeness2/5

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

For a lookup tool with no annotations, no output schema, and an undocumented parameter, the description leaves key questions unanswered: what the response contains, how errors surface, and what a valid reference looks like. The complexity is low, but the definition is thinner than the invocation still requires.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter `ref` has no schema-level documentation. The description only paraphrases the parameter name as "reference" without stating its format (invoice number vs. internal ID), case sensitivity, or whether a prefix is required, so it does not compensate for the coverage gap.

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?

"Read one invoice by its reference" gives a specific verb (Read), a specific resource (invoice), an explicit cardinality (one), and the lookup key (reference). It clearly contrasts with the create_invoice sibling by being a read, though it never names an alternative tool such as a list/search variant.

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?

The description states no when-to-use condition, no prerequisites, and no alternatives for retrieving invoices in bulk or by other fields. The phrase "by its reference" hints at a single-key lookup path, but the agent must infer that a listing tool does not exist or is preferred elsewhere.

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.

Resources