Skip to main content
Glama
lexware-php-mcp

lexware-php-mcp

Search contacts

search_contacts
Read-onlyIdempotent

Find Lexware Office contacts by name, email, customer or vendor number, and role, sorted by name. Retrieve company details or basic private-person records for quick contact lookup.

Instructions

Searches Lexware Office contacts by name, e-mail, customer/vendor number and role, sorted by name. Companies include e-mail addresses, phone numbers, billing address and contact person names; private persons are reduced to name, numbers and archived flag.

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": "search_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoPart of the contact name, at least 3 characters.
roleNoContact role: "customer", "vendor" or "any".any
emailNoPart of an e-mail address, at least 3 characters.
limitNoNumber of contacts returned, 1 to 250.
numberNoCustomer or vendor number (integer).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: results are sorted by name, and returned fields differ sharply by contact type (companies get e-mail, phone, billing address and contact person names; private persons are reduced to name, numbers and an archived flag).

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 tight sentences, front-loaded with the search fields and closing with the return-shape distinction. No filler and nothing that needs to be re-read.

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?

With no output schema, the description usefully compensates by describing the per-type result shape, and all five optional parameters are documented in the schema. It falls short only on pagination/limit behavior and on how filters interact, which matter for a search tool with 250-result ceilings.

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 coverage is 100%, so the baseline is 3; the description largely restates the schema's parameters (name, e-mail, number, role) rather than adding new semantics. It does clarify that number means a customer or vendor number, but omits anything on how multiple filters combine or on the default limit of 50.

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 (searches) and resource (Lexware Office contacts), enumerates the searchable fields (name, e-mail, customer/vendor number, role) and the sort order. This is well beyond a restatement of the name and tells an agent exactly what the tool retrieves.

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?

Usage is implied by the field list, but there is no explicit when-to-use or when-not guidance, no reference to the sibling tools (vouchers, open items, revenue) that are not substitutes, and no advice on narrowing results or using the limit parameter for paging. An agent can infer the use case but gets no routing help.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.