Skip to main content
Glama
Miyamura80

agent-prompt-capture

by Miyamura80

list_prompts

List captured, PII-scrubbed prompts newest first, filtered by project, session, source, or time range, to trace what a user actually asked in order.

Instructions

List captured prompts, newest first (oldest first is not offered; page with offset). Use it to read what the user actually asked, in order, about a project or a session. Prompt text is PII-scrubbed: values appear as [EMAIL_1], [API_KEY_2] and similar placeholders. source must be one of: claude_code, codex_cli, opencode, claude_web, claude_code_web, chatgpt_web, codex_cloud. project, session_id and account are exact matches on the stored value (see list_sessions / list_sources for what exists). limit is capped at 500. since/until accept an ISO 8601 timestamp ('2026-09-19T14:00:00Z'), a bare date ('2026-09-19'), the word 'now', or a relative duration meaning that long ago: '30m', '24h', '7d', '2w', '3mo', '1y'. Omit until for 'up to now'. Returns {prompts: [record...], total: <matching rows ignoring limit/offset>}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
sinceNo
untilNo
offsetNo
sourceNo
accountNo
projectNo
session_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden. It transparently reveals PII scrubbing with placeholder examples, the hard limit cap at 500, exact-match semantics for project/session/account, the full since/until date grammar including relative durations, and the unavailability of oldest-first ordering. This is extensive and unusually candid.

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?

The description is long but information-dense; every clause maps to a schema parameter, an invocation constraint, or a user need. It front-loads the core operation and ordering immediately, then systematically covers PII handling, filtering, pagination, date formats, and the return shape without filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 8 parameters, no annotations, and no schema descriptions, the description is remarkably complete. It covers ordering, filtering, paging, source enumeration, exact-match semantics, date parsing variants, and the response envelope, while referencing sibling tools for discoverability. The only minor omission is a direct contrast with search_prompts, but the provided output schema and extreme specificity make the tool safely invocable.

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

Parameters5/5

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

Schema description coverage is 0%, so the description fully compensates. It enumerates every valid source value, explains the exact-match behavior for project/session/account, defines the limit cap, offset paging, and the complete since/until input grammar. Every parameter in the schema is given meaningful semantic context beyond its type and default.

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 opens with a specific verb and resource: 'List captured prompts, newest first'. It adds behavioral detail (oldest first is not offered, page with offset) and usage context ('read what the user actually asked, in order'), which distinguishes it from search-oriented siblings like search_prompts.

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?

The description gives clear context: 'Use it to read what the user actually asked, in order, about a project or a session' and points to list_sessions/list_sources for discovering valid exact-match values. However, it does not explicitly state when not to use this tool or contrast it with search_prompts/get_prompt, so it stops short of full alternative routing.

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