Skip to main content
Glama

Lovie Company Formation

List Counterparties

counterparty_get_list_counterparties
Read-only

GetListCounterparties retrieves a list of counterparties with filtering and pagination

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterNo
pageSizeNo
pageTokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalCountNo
nextPageTokenNo
counterpartiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / filter / properties / includeMerged
      Added value: +{
      +  "type": "boolean"
      +}
    • changedInput schema / properties / filter / properties / types / items / enum
      Previous value: -[
      -  "COUNTERPARTY_TYPE_UNSPECIFIED",
      -  "COUNTERPARTY_TYPE_INDIVIDUAL",
      -  "COUNTERPARTY_TYPE_MERCHANT",
      -  "COUNTERPARTY_TYPE_GOVERNMENT",
      -  "COUNTERPARTY_TYPE_INTERNAL",
      -  "COUNTERPARTY_TYPE_FINANCIAL_INSTITUTION"
      -]New value: +[
      +  "COUNTERPARTY_TYPE_UNSPECIFIED",
      +  "COUNTERPARTY_TYPE_INDIVIDUAL",
      +  "COUNTERPARTY_TYPE_MERCHANT",
      +  "COUNTERPARTY_TYPE_GOVERNMENT",
      +  "COUNTERPARTY_TYPE_INTERNAL",
      +  "COUNTERPARTY_TYPE_FINANCIAL_INSTITUTION",
      +  "COUNTERPARTY_TYPE_COMPANY"
      +]
    • addedOutput schema / properties / counterparties / items / properties / enrichmentConfidence
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / counterparties / items / properties / enrichmentStatus
      Added value: +{
      +  "enum": [
      +    "COUNTERPARTY_ENRICHMENT_STATUS_UNSPECIFIED",
      +    "COUNTERPARTY_ENRICHMENT_STATUS_PENDING",
      +    "COUNTERPARTY_ENRICHMENT_STATUS_RESOLVED_CHEAP",
      +    "COUNTERPARTY_ENRICHMENT_STATUS_RESOLVED_LLM",
      +    "COUNTERPARTY_ENRICHMENT_STATUS_NEEDS_REVIEW",
      +    "COUNTERPARTY_ENRICHMENT_STATUS_RESOLVED_MANUAL"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / counterparties / items / properties / mergedIntoId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "UUID value wrapper.",
      +      "properties": {
      +        "value": {
      +          "format": "uuid",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / counterparties / items / properties / type / enum
      Previous value: -[
      -  "COUNTERPARTY_TYPE_UNSPECIFIED",
      -  "COUNTERPARTY_TYPE_INDIVIDUAL",
      -  "COUNTERPARTY_TYPE_MERCHANT",
      -  "COUNTERPARTY_TYPE_GOVERNMENT",
      -  "COUNTERPARTY_TYPE_INTERNAL",
      -  "COUNTERPARTY_TYPE_FINANCIAL_INSTITUTION"
      -]New value: +[
      +  "COUNTERPARTY_TYPE_UNSPECIFIED",
      +  "COUNTERPARTY_TYPE_INDIVIDUAL",
      +  "COUNTERPARTY_TYPE_MERCHANT",
      +  "COUNTERPARTY_TYPE_GOVERNMENT",
      +  "COUNTERPARTY_TYPE_INTERNAL",
      +  "COUNTERPARTY_TYPE_FINANCIAL_INSTITUTION",
      +  "COUNTERPARTY_TYPE_COMPANY"
      +]
  2. Changed43 schema fields changed
    • addedOutput schema / properties / counterparties / items / properties / companyId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / counterparties / items / properties / companyId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / counterparties / items / properties / companyId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / counterparties / items / properties / companyId / type
      Removed value: -"object"
    • addedOutput schema / properties / counterparties / items / properties / createdAt / anyOf
      Added value: +[
      +  {
      +    "format": "date-time",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / counterparties / items / properties / createdAt / format
      Removed value: -"date-time"
    • removedOutput schema / properties / counterparties / items / properties / createdAt / type
      Removed value: -"string"
    • addedOutput schema / properties / counterparties / items / properties / displayName / anyOf
      Added value: +[
      +  {
      +    "description": "Human-readable name (1-255 Unicode chars).",
      +    "properties": {
      +      "value": {
      +        "maxLength": 255,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / counterparties / items / properties / displayName / description
      Removed value: -"Human-readable name (1-255 Unicode chars)."
    • removedOutput schema / properties / counterparties / items / properties / displayName / properties
      Removed value: -{
      -  "value": {
      -    "maxLength": 255,
      -    "minLength": 1,
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / counterparties / items / properties / displayName / type
      Removed value: -"object"
    • addedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / createdAt / anyOf
      Added value: +[
      +  {
      +    "format": "date-time",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / createdAt / format
      Removed value: -"date-time"
    • removedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / createdAt / type
      Removed value: -"string"
    • addedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / fieldId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / fieldId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / fieldId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / fieldId / type
      Removed value: -"object"
    • addedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / id / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / id / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / id / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / id / type
      Removed value: -"object"
    • addedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / optionId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / optionId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / optionId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / optionId / type
      Removed value: -"object"
    • addedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / updatedAt / anyOf
      Added value: +[
      +  {
      +    "format": "date-time",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / updatedAt / format
      Removed value: -"date-time"
    • removedOutput schema / properties / counterparties / items / properties / fieldValues / items / properties / updatedAt / type
      Removed value: -"string"
    • addedOutput schema / properties / counterparties / items / properties / id / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / counterparties / items / properties / id / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / counterparties / items / properties / id / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / counterparties / items / properties / id / type
      Removed value: -"object"
    • removedOutput schema / properties / counterparties / items / properties / metadata / additionalProperties
      Removed value: -true
    • addedOutput schema / properties / counterparties / items / properties / metadata / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / counterparties / items / properties / metadata / type
      Removed value: -"object"
    • addedOutput schema / properties / counterparties / items / properties / name / anyOf
      Added value: +[
      +  {
      +    "description": "Human-readable name (1-255 Unicode chars).",
      +    "properties": {
      +      "value": {
      +        "maxLength": 255,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / counterparties / items / properties / name / description
      Removed value: -"Human-readable name (1-255 Unicode chars)."
    • removedOutput schema / properties / counterparties / items / properties / name / properties
      Removed value: -{
      -  "value": {
      -    "maxLength": 255,
      -    "minLength": 1,
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / counterparties / items / properties / name / type
      Removed value: -"object"
    • addedOutput schema / properties / counterparties / items / properties / updatedAt / anyOf
      Added value: +[
      +  {
      +    "format": "date-time",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / counterparties / items / properties / updatedAt / format
      Removed value: -"date-time"
    • removedOutput schema / properties / counterparties / items / properties / updatedAt / type
      Removed value: -"string"
  3. First observed

TDQS

C2.7/5.0
Behavior2/5

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

The annotations already declare the operation read-only and non-destructive, and the description aligns with those. The description adds only 'filtering and pagination,' which largely restates the schema, and does not disclose ordering behavior, default page behavior, whether merged counterparties are included, or any other runtime behavior. There is no contradiction, but there is minimal added transparency.

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 a single sentence with the core capabilities front-loaded. The leading 'GetListCounterparties' repeats the method name and could be removed, but overall there is no filler or unnecessary explanation.

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?

Despite having annotations and an output schema, the description omits the important distinction between this tool and `counterparty_get_list_global_counterparties`, and it does not clarify what set of counterparties is being listed. With a nested filter object and 0% schema description coverage, the description is not complete enough for an agent to confidently select and invoke the correct variant.

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 0%, so the description needed to explain the `filter` object, `pageSize`, and `pageToken`, but it only says 'filtering and pagination,' which adds no meaning beyond the parameter names. The nested filter fields such as `ids`, `types`, `statuses`, `companyId`, `nameSearch`, and `includeMerged` remain semantically undocumented.

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 clear verb ('retrieves'), a clear resource ('counterparties'), and the key capabilities of filtering and pagination. However, it does not mention the scope of the list or contrast it with the sibling `counterparty_get_list_global_counterparties`, so it does not fully distinguish between the list variants.

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 guidance on when to use this tool versus `counterparty_get_list_global_counterparties` or `counterparty_get_counterparty`. No context, exclusions, or alternatives are given, so the agent must infer usage purely from the tool name.

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.