Skip to main content
Glama

Look Up Business Partners

lookup_business_partners
Read-only

Look up business partners (customers and/or vendors) from the tenant's partner master. Filters (all optional): search (case-insensitive substring over name, code, email, and phone number); partnerType (customer, supplier, or both [default] — unknown values are rejected). Ordered by name. Paged: returns Total (pre-paging) plus the page; default 100, max 500. Each partner includes any custom field values set on it (see list_custom_fields, entity=businessPartner). The partner master is tenant-shared (no client dimension), so any read principal — operator or client-pinned — sees the same rows, matching the canonical REST endpoint.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lookup_business_partners"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 100, max 500).
offsetNoZero-based offset for paging (default 0).
searchNoCase-insensitive substring match over name, code, email, and phone number.
partnerTypeNoRole filter: customer, supplier, or both (default).

Output Schema

NameRequiredDescriptionDefault
okNo
limitNo
totalNo
offsetNo
partnersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the read-only annotations, the description discloses ordering (by name), paging semantics (Total pre-paging, default 100, max 500), validation behavior (unknown partnerType values rejected), and the tenant-shared, no-client-dimension scoping that makes results identical for operator and client-pinned principals. These are exactly the non-obvious traits an agent could otherwise get wrong.

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?

Content is front-loaded with purpose, then filters, ordering, paging, and scoping in a logical progression with no filler sentences. It is dense to the point of being a single packed block, but essentially every clause carries operational information.

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 an output schema covering return shape and annotations covering safety, the description fills the remaining gaps: ordering, paging limits, validation, tenant-level scoping, and where custom field values come from. Nothing an agent needs to invoke this read correctly appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns extra by clarifying that partnerType accepts customer/supplier/both with 'both' as the default and that unrecognized values are rejected — behavior not encoded in the schema's enum-less nullable string. It restates search and paging fields, but the added validation semantics are genuinely new information.

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 ('Look up business partners (customers and/or vendors)') and pins the data source ('the tenant's partner master'), which distinguishes it from the EDI trading-partner sibling. An agent immediately knows this is a read over the partner master, not an EDI or custom-field tool.

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

Usage Guidelines3/5

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

It does provide useful routing context, notably that custom field values are attached and that list_custom_fields (entity=businessPartner) is the companion for definitions, plus that any read principal sees the same rows. However, it never says when to prefer this over list_edi_trading_partners or other lookup tools, and gives no when-not guidance, leaving sibling selection implicit.

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.

Resources