Skip to main content
Glama

Search public trader listings

search_traders
Read-only

Find current public Tradehand directory listings by trade and optional UK postcode or place. Returns claim state, listing-source freshness, accreditation names, and canonical profile URLs; it does not claim availability, expose mixed-source ratings, or contact anyone.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "trade": "<trade>"
    },
    "name": "search_traders"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
tradeYesTrade name or directory slug, for example Electricians, plumber, or roofers.
locationNoOptional UK town, city, or borough (a full postcode here is searched as the postcode); do not combine with a different postcode.
postcodeNoOptional full UK postcode, for example CO1 1AA.

Output Schema

NameRequiredDescriptionDefault
totalYes
tradeYes
statusYes
choicesNoPresent when status is choose_place: the namesakes with their regions. Repeat the search with one location value.
listingsYes
returnedYes
truncatedYes
coverageNoteYes
resolvedAreaYes
requestedLocationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / location / description
      Previous value: -"Optional UK town, city, or borough; do not combine with postcode."New value: +"Optional UK town, city, or borough (a full postcode here is searched as the postcode); do not combine with a different postcode."
  2. Changed3 schema fields changed
    • addedOutput schema / properties / listings / items / properties / matchedTrade
      Added value: +{
      +  "description": "The trade searched for.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / listings / items / properties / trade / description
      Added value: +"The listing's primary trade."
    • changedOutput schema / properties / listings / items / required
      Previous value: -[
      -  "publicReference",
      -  "name",
      -  "trade",
      -  "location",
      -  "claimed",
      -  "accreditations",
      -  "sourceRegister",
      -  "sourceCheckedAt",
      -  "profileUrl"
      -]New value: +[
      +  "publicReference",
      +  "name",
      +  "trade",
      +  "matchedTrade",
      +  "location",
      +  "claimed",
      +  "accreditations",
      +  "sourceRegister",
      +  "sourceCheckedAt",
      +  "profileUrl"
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / choices
      Added value: +{
      +  "description": "Present when status is choose_place: the namesakes with their regions. Repeat the search with one location value.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "location": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "region": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "region",
      +      "location"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / status / enum
      Previous value: -[
      -  "ok",
      -  "empty"
      -]New value: +[
      +  "ok",
      +  "empty",
      +  "choose_place"
      +]
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), and the description adds real value on top by naming what is returned (claim state, source freshness, accreditation names, canonical profile URLs) and what is explicitly out of scope (no availability claims, no mixed-source ratings, no contact actions). This prevents an agent from misreading results as bookings or aggregated ratings.

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?

Two sentences, front-loaded with the core action and scope, then a compact boundary clause. The second sentence is a dense three-part negative list, but each element carries useful disambiguation and nothing is redundant.

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?

An output schema exists, so return-value detail need not be spelled out, and the annotations carry the safety profile. The description fills the remaining gap with result-type hints and explicit non-capabilities, leaving only minor omissions such as result ordering or pagination behavior.

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?

With 75% schema description coverage, the schema already documents trade, location, and postcode, including the note that a full postcode in the location field is treated as a postcode. The description only restates the trade/postcode/place combination and adds nothing about limit or the trade-slug vs trade-name distinction, so it sits at the baseline for well-covered schemas.

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 opens with a specific verb and resource ('Find current public Tradehand directory listings') and scopes it to 'by trade and optional UK postcode or place', which is enough for an agent to distinguish this listing search from the singular get_trader lookup or browse_trades.

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 trade-plus-location framing and the separate postcode/place parameters, but the description never states when to prefer this over browse_trades or get_trader, nor any preconditions. It offers negative boundaries ('does not claim availability... or contact anyone') rather than positive when-to-use routing.

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.