Skip to main content
Glama

index_claude_sessions

Indexes Claude Code session dialogue (user and assistant text, excluding tool traffic) for semantic search, adding only new content and deferring sessions active in the last hour.

Instructions

Index Claude Code session dialogue (user + assistant text, no tool traffic) for semantic search. Additive and incremental; sessions active in the last hour are deferred.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose genuinely useful traits beyond structured data — the operation is 'additive and incremental' and recent sessions are deferred — but it omits cost, duration, idempotency of repeated calls, and what a call returns, all of which matter for an unannotated, zero-param action tool.

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 tight sentences with no filler, and the core scope statement leads. The deferral rule trails appropriately as a secondary constraint, though it could be tightened slightly.

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?

There is no output schema, so the description should say what a call yields — a count, a job handle, nothing — and it stays silent. For a simple fire-and-forget ingestion tool covering one source, the behavioral picture is mostly adequate, but the missing return behavior leaves a real gap.

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?

The schema takes zero parameters, so there is no parameter meaning for the description to add. A baseline of 4 applies; the description correctly avoids inventing input options that do not exist.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource — 'Index Claude Code session dialogue' — and narrows the scope precisely to 'user + assistant text, no tool traffic'. That scope clause alone separates it from siblings like index_granola_transcripts or index_wispr_transcripts, which cover different sources.

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 rather than stated: indexing 'for semantic search' signals the downstream consumer, but the description never says when to call this instead of semantic_search or how to confirm progress via index_status. There are no explicit when-not conditions, so the agent must infer that this is a periodic ingestion step.

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