Skip to main content
Glama

Search vault items

search_items
Read-only

Find vault items by name, username, or URI host and return safe references plus field names, never secret values. Append / to a reference to use a field.

Instructions

Find items by name, username or URI host. Returns each item's reference, name, username, URI hosts and field names, never secret values. Append / to the reference to use a field.

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

Input Schema

NameRequiredDescriptionDefault
queryYesText to match, case-insensitive. "" lists everything.
profileNoSearch one profile. Omit to search all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Adds real value beyond the annotations by disclosing what is returned (references, names, usernames, URI hosts, field names) and, importantly, that secret values are never returned. However, it says nothing about result limits, pagination, or what an empty result means for a broad query, which matters for a read-only search over a whole vault.

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 search capability followed by the result shape and the reference-addressing rule. No redundant or filler wording.

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 no output schema, the description carries the return value burden and does so by enumerating returned fields and excluding secret values. It is nearly complete for a two-parameter read tool, but omits pagination/result-cap behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description adds meaning the schema lacks: which item attributes the query matches (name, username, URI host) rather than just "text to match." The profile parameter is left entirely to the schema, however.

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 ("Find items") plus the match surfaces (name, username, URI host), which is enough to separate it from list_profiles and read_field. It stops short of explicitly naming the siblings it replaces.

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?

Gives clear context for use (find an item by name/username/host) and a concrete follow-on rule: append /<field> to the reference to read a field, which routes the agent toward read_field. No explicit when-not guidance or named alternative is provided, so it falls short of a 5.

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

Deploy Server

Other Tools