Skip to main content
Glama

Find entities

mercoa_find_entities
Read-only

Find/search entities (buyers, vendors, payors, payees). Use to look up counterparties by name/email/foreignId or list all. GET /entity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax entities to return (1-100, default 10).
searchNoSearch by name, email, emailTo, entity ID, or foreign ID (partial matches).
statusNoEntity status filter (e.g. verified, pending).
isPayeeNoFilter entities marked as payees.
isPayorNoFilter entities marked as payors.
foreignIdNoYour system's ID(s) for the entity.
isCustomerNoIf true, only entities with a direct relationship to your organization.
startingAfterNoEntity ID cursor for pagination.
paymentMethodsNoIf true, include payment methods in the response.
returnMetadataNoMetadata key(s) to include in the response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true, so no need to restate. Description adds context that it's a GET endpoint and can search by various fields. No contradictions. Could mention pagination behavior more explicitly, but adequate.

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?

Two sentences: first sets purpose, second gives usage guidance. No redundant words. Front-loaded and efficient.

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?

Given 10 parameters and no output schema, the description covers the core use cases. It could mention that the response is a list of entities and hint at pagination via startingAfter, but the schema descriptions handle parameter details. Sufficient for a straightforward read-only search tool.

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 100%, so the schema already documents all parameters. Description adds value by grouping searchable fields (name/email/foreignId) but doesn't significantly enhance understanding beyond schema.

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?

Clearly states verb (find/search) and resource (entities), and distinguishes by specifying counterparty types (buyers, vendors, payors, payees). Differentiates from sibling tools like create_entity or get_entity.

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?

Explicitly instructs to use for looking up counterparties by name/email/foreignId or listing all entities. However, it does not mention when to use get_entity instead (e.g., when you need a single entity by ID) or specify exclusions.

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.