Skip to main content
Glama

Knot — Freesia Agent Entrance

Read an invoice

get_invoice

Read status, amounts and payment instructions for an invoice 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. Changed1 schema field changed
    • removedInput schema / properties / ref / pattern
      Removed value: -"^KNOT-INV-[0-9]{8}-[A-Z0-9]{4}$"
  2. Added

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden and does not state whether the caller needs authorization to read an arbitrary invoice reference, what happens if the ref is unknown, or whether the returned payment instructions imply any side effect. Implicitly read-only via "Read", and it does preview output fields in lieu of an output schema, but permission scope and failure behavior are unaddressed.

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?

A single front-loaded sentence with no filler, naming the key returned fields early. It is efficient, though the terseness leaves gaps that additional clauses could have closed.

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?

For a simple one-parameter read tool with no output schema, the description covers what comes back, which is valuable. It omits the reference format, access scope, and not-found behavior, so it is adequate but not complete.

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 0% for the single `ref` parameter, so the description must compensate; it does clarify that `ref` is an invoice reference rather than a generic identifier. It gives no format, length, or example for the reference, so meaning is partially but not fully supplied.

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 pairs a specific verb ("Read") with a clear resource ("invoice") and enumerates the returned fields (status, amounts, payment instructions), which separates it from the sibling create_invoice. It stops short of explicitly naming an alternative tool, so an agent infers differentiation from the verb alone.

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?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as quote or create_invoice. The read framing implies a lookup use case, but nothing tells the agent under what circumstances this is the right call.

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