Skip to main content
Glama

phonebook_search

Read-only

Search FRITZ!Box phonebooks by name or number, including reverse number lookup, and return up to 20 matches with contact name, numbers by type, and source phonebook.

Instructions

[Stufe: read] Sucht Kontakte in den Telefonbüchern der Box nach Name oder Nummer (Rückwärtssuche): Name, Nummern mit Typ, Telefonbuch. Höchstens 20 Treffer.

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": {
      "query": "<query>"
    },
    "name": "phonebook_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxNoName der FRITZ!Box bei Mehrbox-Betrieb (Standard: erste Box, siehe server_status)
queryYesName (Teilstring) oder Rufnummer (auch ohne Vorwahl/+49)
phonebook_idNoNur in diesem Telefonbuch (ID aus phonebook_list)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds a real behavioral constraint the annotations do not carry: a hard ceiling of 20 hits per search, which tells the agent results may be truncated and broader queries are needed.

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 compact clauses, front-loaded with the '[Stufe: read]' level marker and the action, then the returned fields and the hit limit. No filler; only minor redundancy with the output schema in enumerating returned fields.

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 read-only annotations and a full output schema, the description covers what an agent needs: what is searched, which fields come back, and the 20-result cap. The only omission is an explicit pointer to phonebook_list for obtaining phonebook_id, which the schema covers instead.

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 coverage is 100%, so box, query and phonebook_id are already fully documented, including the hint that numbers may be given without prefix or +49. The description adds only the high-level notion of name-substring or reverse-number lookup, so the baseline of 3 is appropriate.

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 — searching contacts within the box's phonebooks — and clarifies it accepts either a name or a number, including reverse lookup. It implicitly separates itself from phonebook_list (which enumerates phonebooks) but never names that sibling explicitly.

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 'Sucht Kontakte ... nach Name oder Nummer (Rückwärtssuche)', and the result cap sets expectations, but there is no explicit when-to-use versus when-to-use-something-else guidance or stated prerequisites. The agent must infer that phonebook_list should be called first to obtain a phonebook_id.

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