Skip to main content
Glama
kirimi-mcp
by kiriminow

get_contacts

List contacts stored in a QR device's phone address book and WhatsApp profile names, with pagination and search by name or phone number. Not available for WABA numbers.

Instructions

List the contacts saved on the phone of a QR device (names from the phone address book, plus WhatsApp profile names). Paginated. Not available for WABA numbers.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1. Default 1.
limitNoContacts per page, 1-1000. Default 100.
searchNoCase-insensitive match on name or phone number
refreshNoRe-read the full address book from the phone first (slower; at most once per 10 minutes per device). Default false.
device_idNoDevice ID (e.g. D-XXXXX). Optional if the KIRIMI_DEVICE_ID environment variable is set.
saved_onlyNoOnly contacts saved in the phone address book (saved=true). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses useful behavior beyond the schema: pagination, that results are drawn from the phone address book plus WhatsApp profile names, and that WABA numbers are unsupported. It omits return shape, whether the call is read-only (implied by 'List'), and any permission or device-online prerequisites; the 10-minute refresh throttle is disclosed only in the schema.

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 short sentences, front-loaded with the core verb and resource, then scope, then the exclusion. No filler; even the parenthetical clarifies the data source rather than restating 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 six-parameter, zero-required read tool with no output schema and no annotations, the description covers purpose, source of data, pagination, and a key availability limit. The main gap is the absence of any indication of what a contact record contains, which matters because there is no output schema to fall back on.

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%, so all six parameters are already documented, and the description adds only the word 'Paginated', which maps to page/limit without new detail. Baseline 3 is appropriate since the schema does the heavy lifting and the description adds little parameter-level meaning.

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 ('List the contacts') and narrows the scope precisely: contacts on the phone of a QR device, combining address-book names with WhatsApp profile names. This makes it clearly a read operation, implicitly distinct from the save_contact/save_contacts_bulk siblings, but it never names an alternative tool, so differentiation is inferential rather than explicit.

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?

The description gives one hard exclusion ('Not available for WABA numbers'), which is genuine when-not guidance. However, it offers no positive when-to-use framing and does not point WABA users to any alternative, leaving the agent to guess what to do for WABA devices.

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