Skip to main content
Glama

list_contacts

Read-onlyIdempotent

Lists all contacts from an address book without filtering. Use addressbook_query for targeted searches to avoid returning thousands of contacts and save tokens.

Instructions

List ALL contacts from an address book without filtering. WARNING: Returns all contacts which can be thousands - use addressbook_query instead when searching for specific contacts by name, email, or organization to save tokens

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": {
      "addressbook_url": "<addressbook_url>"
    },
    "name": "list_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressbook_urlYesThe URL of the address book to fetch contacts from

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds real value beyond that: the unbounded result volume ("can be thousands") and the token cost consequence. It stops short of describing pagination or response shape, which matters for a tool that may return thousands of records.

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, both load-bearing, with the scope constraint front-loaded and the warning plus redirect following. No filler or restatement of the name.

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 single-parameter read tool with full annotation coverage, the definition covers what it does, when not to use it, and the cost risk. The remaining gap is what a returned contact contains and whether results are paginated, which is relevant given the stated volume but not blocking.

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?

Only one parameter exists and schema coverage is 100%, so the schema fully documents addressbook_url. The description implies the URL identifies the whole book to be dumped, but adds no format or sourcing detail beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource ("List ALL contacts from an address book") plus an explicit scope ("without filtering"), which immediately separates it from addressbook_query. An agent can tell the two apart without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names the alternative (addressbook_query) and the exact conditions that select it: searching by name, email, or organization. The exclusion is stated as clearly as the use case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.