Skip to main content
Glama

Lovie Company Formation

List Payments

payment_get_list_payments
Read-only

Lists payments a company has received, newest first, each with the invoice it was applied to. Read-only and paginated. Use this to answer "what has come in" or to reconcile an invoice against what was actually collected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterNo
pageSizeNo
pageTokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
paymentsNo
totalCountNo
nextPageTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed25 schema fields changed
    • addedOutput schema / properties / payments / items / properties / companyId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / payments / items / properties / companyId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / payments / items / properties / companyId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / payments / items / properties / companyId / type
      Removed value: -"object"
    • addedOutput schema / properties / payments / items / properties / createdAt / anyOf
      Added value: +[
      +  {
      +    "format": "date-time",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / payments / items / properties / createdAt / format
      Removed value: -"date-time"
    • removedOutput schema / properties / payments / items / properties / createdAt / type
      Removed value: -"string"
    • addedOutput schema / properties / payments / items / properties / destinationAccountId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / payments / items / properties / destinationAccountId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / payments / items / properties / destinationAccountId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / payments / items / properties / destinationAccountId / type
      Removed value: -"object"
    • addedOutput schema / properties / payments / items / properties / id / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / payments / items / properties / id / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / payments / items / properties / id / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / payments / items / properties / id / type
      Removed value: -"object"
    • addedOutput schema / properties / payments / items / properties / initiatedAt / anyOf
      Added value: +[
      +  {
      +    "format": "date-time",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / payments / items / properties / initiatedAt / format
      Removed value: -"date-time"
    • removedOutput schema / properties / payments / items / properties / initiatedAt / type
      Removed value: -"string"
    • addedOutput schema / properties / payments / items / properties / settledAt / anyOf
      Added value: +[
      +  {
      +    "format": "date-time",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / payments / items / properties / settledAt / format
      Removed value: -"date-time"
    • removedOutput schema / properties / payments / items / properties / settledAt / type
      Removed value: -"string"
    • addedOutput schema / properties / payments / items / properties / sourceAccountId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / payments / items / properties / sourceAccountId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / payments / items / properties / sourceAccountId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / payments / items / properties / sourceAccountId / type
      Removed value: -"object"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context: results are ordered newest first, each payment includes the invoice it was applied to, and the tool is paginated. This goes beyond the annotations and helps the agent understand what to expect.

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?

Three sentences with no waste. The core function is front-loaded, followed by ordering/relationship details, then concrete use cases. Every sentence 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?

The tool has an output schema, so return values are covered there. The description covers ordering, invoice association, pagination, and use cases. It doesn't mention filtering capabilities, but the filter parameter is structurally self-evident. For a read-only list tool with annotations and output schema, this is reasonably 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 description coverage is 0%, so the description carries the burden for parameter meaning. However, the description doesn't explain any of the three parameters (filter, pageSize, pageToken). The filter object's nested properties (ids, types, statuses, accountId, companyId) are self-descriptive from their names, but the description adds no parameter-level guidance. Baseline 3 is appropriate because the schema structure is fairly clear, but the description doesn't compensate for the 0% coverage.

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: 'Lists payments a company has received, newest first, each with the invoice it was applied to.' This clearly identifies the tool's function and distinguishes it from payment_get_payment (singular) and other list tools. It doesn't explicitly name a sibling, but the scope is clear enough.

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 description provides clear use cases: 'Use this to answer "what has come in" or to reconcile an invoice against what was actually collected.' This gives context for when to use the tool, though it doesn't explicitly state when not to use it or name alternative tools.

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.