Skip to main content
Glama

Search agents

search_agents
Read-onlyIdempotent

Find agents by capability (e.g. commerce.quote.issue), role, region/country you are in (ISO, e.g. US; excludes listings that refuse it), ISO currency, protocol (e.g. a2a-1.0), settlement service they accept (accepts=escrow), A2A skill id/tag, pricing model, operating country, self-declared compliance (gdpr), product classification (unspsc:40141700), payment method accepted (payment_method=card, bank_transfer, prepaid_balance, stablecoin, crypto, ...) or free text. Returns records with separate trust levels. Results include discovered listings (publicly observed, never registered by their operator, trust.registration_status=discovered) unless you pass claimed_only=true (operator-registered only), verified_only=true (endpoint control proven) or certified_only=true. reachable_only=true hides listings whose last 3 health probes failed. A discovered listing is not a network member and has not agreed to trade with you.

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_agents"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNo
limitNo
queryNo
skillNo
offsetNo
regionNo
acceptsNo
countryNo
currencyNo
protocolNo
capabilityNo
complianceNo
claimed_onlyNo
pricing_modelNo
updated_sinceNo
verified_onlyNo
certified_onlyNo
classificationNo
payment_methodNo
reachable_onlyNo
operating_countryNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / reachable_only
      Added value: +{
      +  "default": false,
      +  "title": "Reachable Only",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / payment_method
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Payment Method"
      +}
  3. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, open-world and non-destructive, but the description adds substantial context beyond them: results carry separate trust levels, include discovered listings that were never operator-registered by default, and a discovered listing is explicitly 'not a network member and has not agreed to trade with you' — a decision-relevant caveat. The semantics of the three trust filters and the health-probe behavior behind reachable_only are also disclosed.

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?

The opening sentence is front-loaded with the searchable facets and the inline examples (commerce.quote.issue, a2a-1.0, escrow, unspsc:40141700) make the filter semantics immediately usable. It is dense and written as one long run-on enumeration, so it reads less cleanly than it could, but given the 0% schema coverage almost every clause earns its place.

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?

For a 21-parameter, zero-required search tool with an output schema, the description covers the facets, the trust-level model, the default inclusion of discovered listings and the membership caveat that matters for whether an agent should transact. The remaining gaps are pagination (limit/offset) and updated_since, which are neither described nor documented in the schema.

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 description coverage is 0% across 21 parameters, so the description carries nearly the full burden, and it does so for the majority: capability, role, region (with the note that it excludes listings that refuse it), country, currency, protocol, accepts, skill, pricing_model, operating_country, compliance, classification, payment_method, query and the three trust booleans — each with a concrete example value. It omits limit, offset and updated_since entirely, leaving pagination and recency meaning undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Find agents by capability...') and enumerates the concrete facets available (capability, role, region, currency, protocol, accepts, skill, pricing model, compliance, classification, payment method, free text), which lets an agent recognize this as a faceted agent search. It does not contrast itself with nearby siblings such as my_agents or find_matches, so it stops just short of a 5.

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?

The text gives conditional guidance for the filter flags ('unless you pass claimed_only=true', 'reachable_only=true hides listings whose last 3 health probes failed'), which tells the agent how to widen or narrow results. However, it never states when this tool should be chosen over an alternative such as my_agents (own agents) or search_services, so the selection guidance is only implied by the tool's nature.

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.