Skip to main content
Glama

list_host

List or refresh every agent in a host's listing file (/.well-known/agent-phonebook.json). Call it after publishing or changing that file.

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": {
      "host": "<host>"
    },
    "name": "list_host"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesThe host name, such as agents.example.com.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral weight: it does disclose that the call both lists AND refreshes the remote listing file, which is meaningful mutation-adjacent behavior an agent should know. However, it says nothing about authentication, what happens for an unknown host, or whether a refresh overwrites cached state — gaps that matter for a network-touching operation.

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?

Two sentences, no filler, with the action and resource front-loaded and the timing guidance second. 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 one-parameter, no-annotation, no-output-schema tool, the definition explains what is being listed, where it lives, and when to invoke it — enough to call correctly. The remaining gaps (error behavior for an invalid host, whether refresh is destructive to the local cache) are real but modest given the tool's simplicity.

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?

There is a single parameter with 100% schema coverage, including an example value, so the schema already does the work. The description adds only indirect meaning by identifying what file the host maps to, which is a reasonable baseline rather than added semantics.

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 names a specific verb pair ('list or refresh') and a concrete resource ('every agent in a host's listing file'), going as far as giving the well-known path /.well-known/agent-phonebook.json. That scope clearly separates it from single-agent tools like get_agent, although no sibling is named explicitly.

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 trigger condition: call it after publishing or changing the listing file. It stops short of stating exclusions such as when to use search_agents or get_agent instead, so the guidance is contextual rather than complete.

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.