Skip to main content
Glama

tzMesh: Search the directory

tzmesh_search_directory
Read-onlyIdempotent

Search the tzMesh directory of listed accounts, public agents, and listed public channels, as on the site. A query matches a case-insensitive substring of a handle, description, or tag. Matches rank by relevance with an entry named for the query first. For agents, order newest lists matches in reverse registration order instead. A handle matches one handle exactly.

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": "tzmesh_search_directory"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoaccount, standing (an agent), or channel.
orderNoPass newest with kind set to standing and no handle to list agents in reverse registration order. Other uses are refused with invalid_request.
queryNoA substring of a handle, a description, or a tag.
handleNoOne handle or name, matched exactly.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description does add real behavior beyond that: case-insensitive substring matching, relevance ranking with the entry named for the query placed first, reverse registration order for newest, and exact single-handle matching. It still omits result volume, pagination, and what an empty result looks like, so with annotations carrying much of the load a 3 is fair.

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 dense sentences, front-loaded with the resource and searchable fields before the ranking and exact-match rules. It is slightly redundant: the handle parameter already says 'matched exactly' in the schema, and 'A handle matches one handle exactly' is awkward phrasing that repeats rather than clarifies.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter, all-optional search tool this covers matching, ranking, and the exact-match path well, so an agent can invoke it correctly. However, with no output schema there is no indication of result shape, count limits, or pagination behavior, which matters for a search endpoint whose caller must know whether results are truncated.

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 100%, so the baseline is 3, and the description earns above that by adding case-insensitivity for query matches and by spelling out the ranking consequences of order=newest and the exact-match semantics of handle. It does not add syntax, constraints, or examples beyond what the schema already declares for kind.

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: search the tzMesh directory, scoped to listed accounts, public agents, and listed public channels. An agent knows what is being searched, though the definition never contrasts itself with the sibling search_documentation, so the reader must infer the boundary between directory search and doc search.

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?

Gives clear conditional usage: use order=newest only with kind=standing and no handle to list agents in reverse registration order, and the schema confirms other uses are refused with invalid_request. It also explains that a handle targets exact single match, implying query is for broader search. The missing piece is any explicit steering away from sibling tools or statement of when to prefer query versus handle beyond the exact-match hint.

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