Skip to main content
Glama

contacts_search

Read-only

Search Nextcloud contacts by name or email address to find matching people, with an optional limit on returned contacts.

Instructions

Search the user's contacts by name or email address.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of contacts
queryYesPart of a name or of a mail address, e.g. meier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false; the description's phrase 'the user's contacts' is consistent with the closed-world scope but adds little beyond it. It does not state what the results look like, whether matching is case-insensitive or prefix-based, or how the default limit of 25 behaves.

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?

One short sentence, front-loaded with the verb and resource, no filler. It is arguably too terse for a search tool, but the sizing itself is appropriate and nothing is wasted.

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?

A simple two-parameter read tool with full schema coverage and annotations, so the basics are covered. However, with no output schema, the description offers no hint about the shape or ordering of returned contacts, leaving a gap an agent would want filled.

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%, with 'query' already documented as a partial name or mail address and 'limit' bounded 1-100 with a default. The description restates the same field semantics rather than adding new meaning, so the baseline 3 applies.

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 gives a specific verb and resource ('Search the user's contacts') plus the matching fields ('by name or email address'), so the agent knows exactly what is queried. It does not distinguish this from siblings like 'unified_search' or 'search', which could plausibly also surface contacts, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The agent must infer that this is the contacts-scoped search versus a broader 'unified_search' or 'search', which is left entirely to the caller.

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