Skip to main content
Glama
shukiv

blesta-mcp

by shukiv

Search clients

search_clients
Read-onlyIdempotent

Find clients by email, name, company, or client number. Returns a page of matching client records with primary contact details and status.

Instructions

Find customers matching a free-text query (email, first/last name, company, client ID code such as '1234'). Wraps Clients.search. Returns a page of client records including the primary contact's name, email and status. Use get_client with the returned id for full details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoResult page, starting at 1
queryYesText to search for: email address, name, company or client number

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so safety profile is covered. Description adds that it wraps Clients.search, returns a page of client records including primary contact and status, and points to get_client for more details. This gives useful context about return shape and suggests a follow-up action. Slight gap: does not explicitly state pagination behavior, but 'page' parameter implies it.

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?

3 sentences with no fluff. Front-loads what it does and what it returns, then gives a pointer to get_client. Could be slightly clearer on pagination, but overall efficient. Slightly long but justified by the need to explain query fields and return contents.

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?

Fully competent for a read-only search tool. The schema has all parameter details, annotations cover safety, and description explains return contents and follow-up. The only missing element is explicit statement about pagination limits, but the page parameter and default are self-explanatory given schema coverage.

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 covers both parameters fully with descriptions. Description adds value by clarifying the query can include client ID code and lists exact fields to search, which goes beyond schema's 'Text to search for'. This helps the agent form effective queries.

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?

Description clearly states it searches for customers with free-text query across specific fields (email, name, company, ID code). Includes example of ID code format. Distinguishes from siblings by focusing on search vs. specific get operations.

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?

Clearly states use cases (searching customers) and suggests using get_client for full details. Does not explicitly say when NOT to use this, but the guidance for alternatives is clear. No mention of when to use other search tools like search_invoices or search_services, but those are targeted at different resources.

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