Skip to main content
Glama

Lovie Company Formation

Get Vendor Bill

vendor_bill_get_vendor_bill
Read-only

Returns one bill the company owes a vendor, by id: amount, vendor, due date and whether it has been paid. Read-only. This is money out; an invoice is money in.

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": {
      "id": "<id>"
    },
    "name": "vendor_bill_get_vendor_bill"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUUID value wrapper.

Output Schema

NameRequiredDescriptionDefault
vendorBillNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / vendorBill / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "amountCents": {
      -        "type": "string"
      -      },
      -      "billNumber": {
      -        "type": "string"
      -      },
      -      "cancelledAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "companyId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "createdAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "currencyCode": {
      -        "type": "string"
      -      },
      -      "dueDate": {
      -        "type": "string"
      -      },
      -      "id": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "issueDate": {
      -        "type": "string"
      -      },
      -      "notes": {
      -        "anyOf": [
      -          {
      -            "description": "Free-form description (max 5000 chars).",
      -            "properties": {
      -              "value": {
      -                "maxLength": 5000,
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "paidAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "status": {
      -        "enum": [
      -          "VENDOR_BILL_STATUS_UNSPECIFIED",
      -          "VENDOR_BILL_STATUS_OPEN",
      -          "VENDOR_BILL_STATUS_PAID",
      -          "VENDOR_BILL_STATUS_CANCELLED"
      -        ],
      -        "type": "string"
      -      },
      -      "updatedAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "vendorName": {
      -        "anyOf": [
      -          {
      -            "description": "Human-readable name (1-255 Unicode chars).",
      -            "properties": {
      -              "value": {
      -                "maxLength": 255,
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "companyId",
      -      "vendorName"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "amountCents": {
      +        "type": "string"
      +      },
      +      "billNumber": {
      +        "type": "string"
      +      },
      +      "cancelledAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "counterpartyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "createdAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "currencyCode": {
      +        "type": "string"
      +      },
      +      "dueDate": {
      +        "type": "string"
      +      },
      +      "externalRef": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "issueDate": {
      +        "type": "string"
      +      },
      +      "lineItems": {
      +        "items": {
      +          "properties": {
      +            "amountCents": {
      +              "type": "string"
      +            },
      +            "companyId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "createdAt": {
      +              "anyOf": [
      +                {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "currencyCode": {
      +              "type": "string"
      +            },
      +            "description": {
      +              "anyOf": [
      +                {
      +                  "description": "Free-form description (max 5000 chars).",
      +                  "properties": {
      +                    "value": {
      +                      "maxLength": 5000,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "id": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "lineIndex": {
      +              "type": "integer"
      +            },
      +            "quantity": {
      +              "type": "string"
      +            },
      +            "serviceName": {
      +              "type": "string"
      +            },
      +            "servicePeriodEnd": {
      +              "type": "string"
      +            },
      +            "servicePeriodStart": {
      +              "type": "string"
      +            },
      +            "updatedAt": {
      +              "anyOf": [
      +                {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "vendorBillId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "notes": {
      +        "anyOf": [
      +          {
      +            "description": "Free-form description (max 5000 chars).",
      +            "properties": {
      +              "value": {
      +                "maxLength": 5000,
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "paidAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "servicePeriodEnd": {
      +        "type": "string"
      +      },
      +      "servicePeriodStart": {
      +        "type": "string"
      +      },
      +      "source": {
      +        "enum": [
      +          "VENDOR_BILL_SOURCE_UNSPECIFIED",
      +          "VENDOR_BILL_SOURCE_MANUAL",
      +          "VENDOR_BILL_SOURCE_GMAIL"
      +        ],
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "VENDOR_BILL_STATUS_UNSPECIFIED",
      +          "VENDOR_BILL_STATUS_OPEN",
      +          "VENDOR_BILL_STATUS_PAID",
      +          "VENDOR_BILL_STATUS_CANCELLED"
      +        ],
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "vendorName": {
      +        "anyOf": [
      +          {
      +            "description": "Human-readable name (1-255 Unicode chars).",
      +            "properties": {
      +              "value": {
      +                "maxLength": 255,
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "companyId",
      +      "vendorName"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed4 schema fields changed
    • addedOutput schema / properties / vendorBill / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "amountCents": {
      +        "type": "string"
      +      },
      +      "billNumber": {
      +        "type": "string"
      +      },
      +      "cancelledAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "createdAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "currencyCode": {
      +        "type": "string"
      +      },
      +      "dueDate": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "issueDate": {
      +        "type": "string"
      +      },
      +      "notes": {
      +        "anyOf": [
      +          {
      +            "description": "Free-form description (max 5000 chars).",
      +            "properties": {
      +              "value": {
      +                "maxLength": 5000,
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "paidAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "status": {
      +        "enum": [
      +          "VENDOR_BILL_STATUS_UNSPECIFIED",
      +          "VENDOR_BILL_STATUS_OPEN",
      +          "VENDOR_BILL_STATUS_PAID",
      +          "VENDOR_BILL_STATUS_CANCELLED"
      +        ],
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "vendorName": {
      +        "anyOf": [
      +          {
      +            "description": "Human-readable name (1-255 Unicode chars).",
      +            "properties": {
      +              "value": {
      +                "maxLength": 255,
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "companyId",
      +      "vendorName"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / vendorBill / properties
      Removed value: -{
      -  "amountCents": {
      -    "type": "string"
      -  },
      -  "billNumber": {
      -    "type": "string"
      -  },
      -  "cancelledAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "companyId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "createdAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "currencyCode": {
      -    "type": "string"
      -  },
      -  "dueDate": {
      -    "type": "string"
      -  },
      -  "id": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "issueDate": {
      -    "type": "string"
      -  },
      -  "notes": {
      -    "description": "Free-form description (max 5000 chars).",
      -    "properties": {
      -      "value": {
      -        "maxLength": 5000,
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "paidAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "status": {
      -    "enum": [
      -      "VENDOR_BILL_STATUS_UNSPECIFIED",
      -      "VENDOR_BILL_STATUS_OPEN",
      -      "VENDOR_BILL_STATUS_PAID",
      -      "VENDOR_BILL_STATUS_CANCELLED"
      -    ],
      -    "type": "string"
      -  },
      -  "updatedAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "vendorName": {
      -    "description": "Human-readable name (1-255 Unicode chars).",
      -    "properties": {
      -      "value": {
      -        "maxLength": 255,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / properties / vendorBill / required
      Removed value: -[
      -  "companyId",
      -  "vendorName"
      -]
    • removedOutput schema / properties / vendorBill / type
      Removed value: -"object"
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so the description's 'Read-only' adds nothing new, and the field list duplicates what the output schema already provides. The only genuine added context is the semantic domain framing (money owed to a vendor, payment status), which is modest value on top of a fully annotated tool.

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?

Two short sentences, front-loaded with the verb and resource, with zero filler. Minor redundancy: 'Read-only' repeats the annotation and the enumerated fields repeat the output schema, so not every clause earns its place.

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 single-parameter read with full annotations and an output schema, the description covers purpose, scope and domain framing adequately. It could add one clause on not-found behavior or where to obtain the id, but nothing essential is missing.

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?

There is a single required parameter and schema description coverage is 100%, so the UUID wrapper format is already documented in the schema. The description's 'by id' matches the schema without extending it (no notes on where the id comes from or what happens on an unknown id). Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Returns one bill ... by id') and lists the fields returned, so the agent knows exactly what it gets. It also pre-empts the most likely confusion by naming the conceptual sibling distinction ('this is money out; an invoice is money in'), separating it from invoice_get_invoice.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'by id' signals the precondition (you must already hold the bill's identifier), which implies the list tool is the way to discover one. The money-out vs money-in framing gives a clear rule for choosing between vendor bills and invoices. It stops short of explicitly naming vendor_bill_get_list_vendor_bills as the lookup alternative, so it's clear context without full routing.

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.