Skip to main content
Glama

Knot — Freesia Agent Entrance

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>",
      "method": "<method>"
    },
    "name": "create_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
payerYes
methodYesOnly usdc is accepted.
languageNo
callbackUrlNo
capabilitiesYes
idempotencyKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • addedInput schema / properties / callbackUrl
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / capabilities / items / enum
      Previous value: -[
      -  "web_api",
      -  "agent_ops",
      -  "localization",
      -  "research_data",
      -  "ad_creative",
      -  "entry_sample",
      -  "monthly_care"
      -]New value: +[
      +  "inquiry_200",
      +  "inquiry_600",
      +  "inquiry_1200",
      +  "reply_setup",
      +  "translation_1",
      +  "proofread_1",
      +  "summary_1",
      +  "polish_1",
      +  "data_cleanup",
      +  "data_convert",
      +  "table_convert",
      +  "list_tidy",
      +  "market_research",
      +  "reaction_summary",
      +  "compare_research",
      +  "ad_copy",
      +  "product_desc",
      +  "intro_copy",
      +  "material_pack",
      +  "doc_template",
      +  "glossary",
      +  "problem_diagnosis",
      +  "setup_guide",
      +  "ops_check",
      +  "admin_guide",
      +  "diagnosis_report",
      +  "code_build",
      +  "people_connect",
      +  "relation_keep",
      +  "plain_language",
      +  "circle_cleanup",
      +  "dating",
      +  "realtime_sync",
      +  "entry_sample",
      +  "monthly_care",
      +  "monthly_care_plus",
      +  "monthly_care_full"
      +]
    • removedInput schema / properties / capabilities / maxItems
      Removed value: -7
    • removedInput schema / properties / capabilities / uniqueItems
      Removed value: -true
    • removedInput schema / properties / idempotencyKey / maxLength
      Removed value: -120
    • addedInput schema / properties / method / description
      Added value: +"Only usdc is accepted."
    • changedInput schema / properties / method / enum
      Previous value: -[
      -  "paypal",
      -  "payoneer",
      -  "bank",
      -  "usdc"
      -]New value: +[
      +  "usdc"
      +]
    • removedInput schema / properties / notes / maxLength
      Removed value: -2000
    • removedInput schema / properties / pace
      Removed value: -{
      -  "default": "standard",
      -  "enum": [
      -    "standard",
      -    "priority"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / payer / additionalProperties
      Removed value: -false
    • removedInput schema / properties / payer / properties / country
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / payer / properties / email / format
      Removed value: -"email"
    • removedInput schema / properties / scale
      Removed value: -{
      -  "default": "M",
      -  "enum": [
      -    "S",
      -    "M",
      -    "L"
      -  ],
      -  "type": "string"
      -}
  2. Changed2 schema fields changed
    • changedInput schema / properties / capabilities / items / enum
      Previous value: -[
      -  "web_api",
      -  "agent_ops",
      -  "localization",
      -  "research_data",
      -  "ad_creative"
      -]New value: +[
      +  "web_api",
      +  "agent_ops",
      +  "localization",
      +  "research_data",
      +  "ad_creative",
      +  "entry_sample",
      +  "monthly_care"
      +]
    • changedInput schema / properties / capabilities / maxItems
      Previous value: -5New value: +7
  3. Added

TDQS

B3/5.0
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden. It discloses the Polygon Mainnet native USDC restriction and the human-approval step, but says nothing about write side effects, permissions, idempotency behavior, callback handling, or what happens after approval.

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 definition is two focused sentences with the core constraint and approval prerequisite front-loaded. There is no unnecessary wording.

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?

This is a seven-parameter tool with nested objects, low schema coverage, and no output schema or annotations. The description is too sparse to make the required inputs and expected behavior clear to an agent.

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 14%, so the description needs to compensate but does not. It only hints at payer and method, leaving the large capabilities enum, nested payer fields, notes, language, callbackUrl, and idempotencyKey unexplained; "selection" is also ambiguous.

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" and identifies the payer and currency. However, "selection" is vague and the definition does not explicitly differentiate this from sibling tools 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?

The description gives a clear prerequisite that a human must approve the amount and method first. It does not explain when to use this instead of quote or get_invoice, nor does it state when not to use it.

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