Skip to main content
Glama

sessions_search

Read-onlyIdempotent

Search sessions across all configured servers to find matching titles and update times. Answer topic or recency questions in one call without listing servers first.

Instructions

Search sessions across all available servers. Returns matching sessions with their ids, titles, and time.updated; no follow-up calls are needed for topic or recency questions. Omit the servers parameter to search every server; do not call servers_list first.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results per server.
queryYesSearch query.
serversNoServer ids to search. Omit to search all available servers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds useful context about the shape of results (ids, titles, time.updated) and that no follow-up calls are required, but says nothing about result caps, per-server limit behavior, or truncation. With annotations doing the heavy lifting, this is a modest addition.

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?

Three short sentences, front-loaded with purpose followed by return shape and then the servers guidance. No filler or repetition, though the second sentence's return-field list is dense enough that it could be split more cleanly.

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?

No output schema exists, so the description rightly explains what comes back (ids, titles, time.updated) and that results are sufficient for topic/recency questions. It omits how the limit interacts with multiple servers and any default, which leaves a small gap for a search tool that caps at 50 per server.

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 query, limit, and servers are all documented structurally; that sets the baseline at 3. The description adds an operational note about omitting servers (don't call servers_list first) but says nothing about limit semantics, so it does not meaningfully exceed the schema.

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 ("Search sessions across all available servers") plus the return fields (ids, titles, time.updated). It distinguishes itself from servers_list by telling the agent not to call that sibling first, but it does not differentiate from sessions_list or sessions_compare, so it falls 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 Guidelines5/5

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

Gives explicit operational guidance: omit the servers parameter to search everything, do not call servers_list first, and no follow-up calls are needed for topic or recency questions. Both the when-to-use trigger (topic/recency questions) and the when-not-to-do (preliminary servers_list call, extra follow-ups) are stated outright.

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