Skip to main content
Glama

Search the directory

search_listings
Read-onlyIdempotent

Find immigration lawyers, English-speaking lawyers, gestorías, tax advisers, insurance brokers, removals firms and international schools in 25 Spanish cities. Results come in the site's own order: matched on an official register first, then English spoken, then Google rating weighted by review count. No listing is paid for. Filters combine with AND. null fields mean "not stated", not "no". Google ratings are Google's data. Cite page_url (or each result's profile_url) when you use these facts.

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

Input Schema

NameRequiredDescriptionDefault
cityNoCity slug, e.g. "valencia", "malaga", "las-palmas" (see list_cities). "national" holds removals firms serving all of Spain.
visaNoOnly firms whose own website says they handle this visa (or the Beckham tax regime)
limitNo
queryNoWords to match in the name, description, address or services, e.g. "NIE", "Beckham", "british"
offsetNo
remoteNoOnly firms that say they work with clients remotely
categoryNoCategory key (see list_categories). URL forms like "immigration-lawyers" also work.
min_ratingNoMinimum Google rating
verified_onlyNoOnly listings matched on an official register (bar association, DGSFP, embassy or FCDO lists, NABSS, BAR, FIDI)
english_speakingNoOnly listings with evidence that they work in English

Output Schema

NameRequiredDescriptionDefault
noteNo
limitNo
orderNo
totalYes
offsetNo
resultsYes
json_urlNo
page_urlNoThe matching directory page, when both category and city are given
next_offsetNo
markdown_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, and the description adds substantial context on top: result ordering (official register, then English spoken, then Google rating weighted by review count), the no-paid-placement guarantee, provenance of the rating data, and a citation requirement. It also pre-empts a common misinterpretation by stating that null means 'not stated', not 'no'.

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 what-and-where is front-loaded, and the following sentences are dense with non-redundant information (sort logic, AND semantics, null meaning, citation rule). A minor cost is that the ranking, null, and attribution notes are packed without visual separation, but nothing is filler.

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 10-parameter, all-optional search with an output schema, the description covers the things the schema cannot: ordering of results, filter combination logic, admission/monetization policy, and data provenance. It does not discuss result-volume or paging behavior, but limit/offset are self-documenting in the schema and return shape is covered by the output schema, so the gap is small.

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?

With 80% schema coverage, the schema already documents most parameters, so the baseline is 3. The description earns above that by disclosing that filters combine with AND — a cross-parameter interaction the schema does not express — and by explaining the null-value semantics that govern how filter results should be read.

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?

The description names a specific verb ('Find') and an enumerated resource set (lawyers, gestorías, tax advisers, brokers, removals firms, schools) scoped to 25 Spanish cities. Combined with the title 'Search the directory', an agent can tell this is a directory-listing search rather than a site/API search like search_site or search_api.

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 context is implied by the strong purpose statement, but there is no explicit when-to-use/when-not-to-use guidance and no named alternatives for the obvious adjacent cases (e.g. fetching one record via get_listing, or browsing cities via list_cities). The agent must infer the boundary with search_site and search_api from the resource description alone.

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