Skip to main content
Glama

Lovie Company Formation

Get Counterparty

counterparty_get_counterparty
Read-only

GetCounterparty retrieves a single counterparty by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesUUID value wrapper.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
counterpartyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / counterparty / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "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"
      -          }
      -        ]
      -      },
      -      "displayName": {
      -        "anyOf": [
      -          {
      -            "description": "Human-readable name (1-255 Unicode chars).",
      -            "properties": {
      -              "value": {
      -                "maxLength": 255,
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "externalRefs": {
      -        "additionalProperties": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      },
      -      "fieldValues": {
      -        "items": {
      -          "properties": {
      -            "createdAt": {
      -              "anyOf": [
      -                {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "dateValue": {
      -              "type": "string"
      -            },
      -            "fieldId": {
      -              "anyOf": [
      -                {
      -                  "description": "UUID value wrapper.",
      -                  "properties": {
      -                    "value": {
      -                      "format": "uuid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "id": {
      -              "anyOf": [
      -                {
      -                  "description": "UUID value wrapper.",
      -                  "properties": {
      -                    "value": {
      -                      "format": "uuid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "numberValue": {
      -              "type": "string"
      -            },
      -            "optionId": {
      -              "anyOf": [
      -                {
      -                  "description": "UUID value wrapper.",
      -                  "properties": {
      -                    "value": {
      -                      "format": "uuid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "optionPath": {
      -              "type": "string"
      -            },
      -            "source": {
      -              "type": "string"
      -            },
      -            "stringValue": {
      -              "type": "string"
      -            },
      -            "updatedAt": {
      -              "anyOf": [
      -                {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "required": [
      -            "fieldId"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "id": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "metadata": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": true,
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "name": {
      -        "anyOf": [
      -          {
      -            "description": "Human-readable name (1-255 Unicode chars).",
      -            "properties": {
      -              "value": {
      -                "maxLength": 255,
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "status": {
      -        "enum": [
      -          "COUNTERPARTY_STATUS_UNSPECIFIED",
      -          "COUNTERPARTY_STATUS_ACTIVE",
      -          "COUNTERPARTY_STATUS_INACTIVE",
      -          "COUNTERPARTY_STATUS_BLOCKED",
      -          "COUNTERPARTY_STATUS_PENDING_VERIFICATION"
      -        ],
      -        "type": "string"
      -      },
      -      "type": {
      -        "enum": [
      -          "COUNTERPARTY_TYPE_UNSPECIFIED",
      -          "COUNTERPARTY_TYPE_INDIVIDUAL",
      -          "COUNTERPARTY_TYPE_MERCHANT",
      -          "COUNTERPARTY_TYPE_GOVERNMENT",
      -          "COUNTERPARTY_TYPE_INTERNAL",
      -          "COUNTERPARTY_TYPE_FINANCIAL_INSTITUTION"
      -        ],
      -        "type": "string"
      -      },
      -      "updatedAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "companyId",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "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"
      +          }
      +        ]
      +      },
      +      "displayName": {
      +        "anyOf": [
      +          {
      +            "description": "Human-readable name (1-255 Unicode chars).",
      +            "properties": {
      +              "value": {
      +                "maxLength": 255,
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "enrichmentConfidence": {
      +        "type": "number"
      +      },
      +      "enrichmentStatus": {
      +        "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"
      +      },
      +      "externalRefs": {
      +        "additionalProperties": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "fieldValues": {
      +        "items": {
      +          "properties": {
      +            "createdAt": {
      +              "anyOf": [
      +                {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "dateValue": {
      +              "type": "string"
      +            },
      +            "fieldId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "id": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "numberValue": {
      +              "type": "string"
      +            },
      +            "optionId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "optionPath": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "stringValue": {
      +              "type": "string"
      +            },
      +            "updatedAt": {
      +              "anyOf": [
      +                {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "fieldId"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "mergedIntoId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "metadata": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "anyOf": [
      +          {
      +            "description": "Human-readable name (1-255 Unicode chars).",
      +            "properties": {
      +              "value": {
      +                "maxLength": 255,
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "status": {
      +        "enum": [
      +          "COUNTERPARTY_STATUS_UNSPECIFIED",
      +          "COUNTERPARTY_STATUS_ACTIVE",
      +          "COUNTERPARTY_STATUS_INACTIVE",
      +          "COUNTERPARTY_STATUS_BLOCKED",
      +          "COUNTERPARTY_STATUS_PENDING_VERIFICATION"
      +        ],
      +        "type": "string"
      +      },
      +      "type": {
      +        "enum": [
      +          "COUNTERPARTY_TYPE_UNSPECIFIED",
      +          "COUNTERPARTY_TYPE_INDIVIDUAL",
      +          "COUNTERPARTY_TYPE_MERCHANT",
      +          "COUNTERPARTY_TYPE_GOVERNMENT",
      +          "COUNTERPARTY_TYPE_INTERNAL",
      +          "COUNTERPARTY_TYPE_FINANCIAL_INSTITUTION",
      +          "COUNTERPARTY_TYPE_COMPANY"
      +        ],
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "companyId",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed4 schema fields changed
    • addedOutput schema / properties / counterparty / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "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"
      +          }
      +        ]
      +      },
      +      "displayName": {
      +        "anyOf": [
      +          {
      +            "description": "Human-readable name (1-255 Unicode chars).",
      +            "properties": {
      +              "value": {
      +                "maxLength": 255,
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "externalRefs": {
      +        "additionalProperties": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "fieldValues": {
      +        "items": {
      +          "properties": {
      +            "createdAt": {
      +              "anyOf": [
      +                {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "dateValue": {
      +              "type": "string"
      +            },
      +            "fieldId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "id": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "numberValue": {
      +              "type": "string"
      +            },
      +            "optionId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "optionPath": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "stringValue": {
      +              "type": "string"
      +            },
      +            "updatedAt": {
      +              "anyOf": [
      +                {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "fieldId"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "metadata": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "anyOf": [
      +          {
      +            "description": "Human-readable name (1-255 Unicode chars).",
      +            "properties": {
      +              "value": {
      +                "maxLength": 255,
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "status": {
      +        "enum": [
      +          "COUNTERPARTY_STATUS_UNSPECIFIED",
      +          "COUNTERPARTY_STATUS_ACTIVE",
      +          "COUNTERPARTY_STATUS_INACTIVE",
      +          "COUNTERPARTY_STATUS_BLOCKED",
      +          "COUNTERPARTY_STATUS_PENDING_VERIFICATION"
      +        ],
      +        "type": "string"
      +      },
      +      "type": {
      +        "enum": [
      +          "COUNTERPARTY_TYPE_UNSPECIFIED",
      +          "COUNTERPARTY_TYPE_INDIVIDUAL",
      +          "COUNTERPARTY_TYPE_MERCHANT",
      +          "COUNTERPARTY_TYPE_GOVERNMENT",
      +          "COUNTERPARTY_TYPE_INTERNAL",
      +          "COUNTERPARTY_TYPE_FINANCIAL_INSTITUTION"
      +        ],
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "companyId",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / counterparty / properties
      Removed value: -{
      -  "companyId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "createdAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "displayName": {
      -    "description": "Human-readable name (1-255 Unicode chars).",
      -    "properties": {
      -      "value": {
      -        "maxLength": 255,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "externalRefs": {
      -    "additionalProperties": {
      -      "type": "string"
      -    },
      -    "type": "object"
      -  },
      -  "fieldValues": {
      -    "items": {
      -      "properties": {
      -        "createdAt": {
      -          "format": "date-time",
      -          "type": "string"
      -        },
      -        "dateValue": {
      -          "type": "string"
      -        },
      -        "fieldId": {
      -          "description": "UUID value wrapper.",
      -          "properties": {
      -            "value": {
      -              "format": "uuid",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "id": {
      -          "description": "UUID value wrapper.",
      -          "properties": {
      -            "value": {
      -              "format": "uuid",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "numberValue": {
      -          "type": "string"
      -        },
      -        "optionId": {
      -          "description": "UUID value wrapper.",
      -          "properties": {
      -            "value": {
      -              "format": "uuid",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "optionPath": {
      -          "type": "string"
      -        },
      -        "source": {
      -          "type": "string"
      -        },
      -        "stringValue": {
      -          "type": "string"
      -        },
      -        "updatedAt": {
      -          "format": "date-time",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "fieldId"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "id": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "metadata": {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  "name": {
      -    "description": "Human-readable name (1-255 Unicode chars).",
      -    "properties": {
      -      "value": {
      -        "maxLength": 255,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "status": {
      -    "enum": [
      -      "COUNTERPARTY_STATUS_UNSPECIFIED",
      -      "COUNTERPARTY_STATUS_ACTIVE",
      -      "COUNTERPARTY_STATUS_INACTIVE",
      -      "COUNTERPARTY_STATUS_BLOCKED",
      -      "COUNTERPARTY_STATUS_PENDING_VERIFICATION"
      -    ],
      -    "type": "string"
      -  },
      -  "type": {
      -    "enum": [
      -      "COUNTERPARTY_TYPE_UNSPECIFIED",
      -      "COUNTERPARTY_TYPE_INDIVIDUAL",
      -      "COUNTERPARTY_TYPE_MERCHANT",
      -      "COUNTERPARTY_TYPE_GOVERNMENT",
      -      "COUNTERPARTY_TYPE_INTERNAL",
      -      "COUNTERPARTY_TYPE_FINANCIAL_INSTITUTION"
      -    ],
      -    "type": "string"
      -  },
      -  "updatedAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / counterparty / required
      Removed value: -[
      -  "companyId",
      -  "name"
      -]
    • removedOutput schema / properties / counterparty / type
      Removed value: -"object"
  3. First observed

TDQS

A4.1/5.0
Behavior3/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 known. The description adds no further behavioral context such as error behavior or scope, which is acceptable for a simple read operation but does not exceed the minimum.

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?

A single, front-loaded sentence contains the entire description with no wasted words. It directly states the verb, resource, and lookup key.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one required parameter, a fully described schema, an output schema, and read-only/non-destructive annotations, the description covers all the essential information an agent needs to call this tool correctly. No missing prerequisites or hidden behaviors are apparent.

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?

The input schema has 100% description coverage including the UUID wrapper for the id parameter. The description only says 'by ID' and adds no additional meaning beyond what the schema already provides, so the schema carries the semantic burden.

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?

The description states a specific action ('retrieves'), a resource ('counterparty'), and a distinguishing constraint ('single ... by ID'). This clearly separates it from sibling list tools like counterparty_get_list_counterparties and counterparty_get_list_global_counterparties.

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 clearly implies the use case: fetch exactly one counterparty when you have its ID. It does not explicitly name alternatives or exclusions, but the single-entity-by-ID framing provides sufficient context against the list siblings.

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.