Skip to main content
Glama

Knot Connection

Issue an invoice

create_invoice

Issue an invoice for a selection and payer, payable in Polygon Mainnet native USDC only. The human approves the amount and the method first.

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": {
      "capabilities": "<capabilities>",
      "payer": "<payer>"
    },
    "name": "create_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
payerYes
methodNoOnly usdc is accepted.
capabilitiesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

There are no annotations, so the description carries the full behavioral burden. It usefully discloses that payment is Polygon Mainnet native USDC only and that human approval is required first, but it omits write side effects, authentication/permissions, idempotency, rate limits, and what is returned after issuance.

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?

The description is short, front-loaded, and has no filler. The only weakness is that "the amount" is mentioned even though no amount parameter appears in the schema, which creates slight ambiguity.

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?

The tool is complex: four parameters, a nested payer object, a large capabilities enum, no output schema, and no annotations. The description states the purpose and payment currency, but it is too thin given the schema complexity and leaves key operational behavior undocumented.

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 only 25%, so the description needs to compensate for undocumented parameters. It mentions "selection," "payer," and the USDC method, but it does not explain the capabilities enum, the notes field, or the payer object's nested fields, and it repeats the method restriction already present in the schema.

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 and resource: "Issue an invoice" for a selection and payer, and adds the payment scope (Polygon Mainnet native USDC only). It is clear what the tool does, but it does not explicitly distinguish itself from siblings such as get_invoice or quote.

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?

It includes one meaningful prerequisite: the human must approve the amount and method first. However, it gives no explicit when-to-use versus alternatives, no exclusions, and no guidance on when another sibling such as quote should be used instead.

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