Skip to main content
Glama

Laspi Business Directory

Ask the directory

ask_directory
Read-only

Answers a customer question asked in natural language, for when the customer describes a need rather than a search term. Returns cards of the businesses that genuinely answer it, chosen strictly from the directory and never invented, with links to their pages. An empty list means the directory has no business for this need.

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": {
      "question": "<question>"
    },
    "name": "ask_directory"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoOptional service language filter (ISO code)
questionYesCustomer question

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false, openWorldHint=false), yet the description still adds meaningful behavior: results are drawn strictly from the directory and 'never invented,' each carries a link, and an empty list is a valid negative answer rather than an error. What is missing is any note on result volume or ranking.

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?

Three sentences, front-loaded with the action and the when-to-use condition, followed by return-shape and empty-result semantics. No sentence is filler and nothing repeats the schema or annotations verbatim.

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 carries the return-value burden and does so well: cards, page links, and the meaning of an empty list. A note on result count, pagination, or ranking would make it fully complete for a discovery tool.

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 description coverage is 100% and both parameters are documented in the schema itself, so the baseline of 3 applies. The description adds no extra meaning about how to phrase the `question` or what the optional `language` ISO filter does beyond the schema's own text.

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?

The description states a specific verb and resource ('Answers a customer question asked in natural language') and adds a scope qualifier, 'when the customer describes a need rather than a search term,' which effectively separates it from a keyword-search sibling. It stops short of naming the alternative tool explicitly, so routing still requires a small inference.

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?

It gives a clear usage condition — use this when the customer describes a need instead of supplying a search term — which implicitly steers keyword queries elsewhere. There is no explicit 'do not use for X' statement and no mention of how to handle ambiguous queries, but the primary routing signal is present.

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