Skip to main content
Glama

Search Trace records

trace_search
Read-only

Query this account's Kamy Trace records, newest first, filtered by feature, status, provider, tag, or time window. Returns record metadata — model, tokens, latency, status, content hash, recorded_at — plus next_cursor for paging; it does not return the stored prompt and output bodies. Use it to answer questions like 'how many flagged calls last week?' or to locate a specific record's id before opening it in the dashboard. Read-only. Requires a Kamy API key with the trace:read scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoReturn records whose tags array contains this tag.
limitNoPage size, 1-100. Default 25.
sinceNoISO-8601 timestamp, inclusive lower bound.
untilNoISO-8601 timestamp, exclusive upper bound.
cursorNoPass the `next_cursor` from the previous response to fetch the next page.
statusNoExact-match filter on outcome.
featureNoExact-match filter on the feature label.
providerNoExact-match filter on provider.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already mark readOnlyHint=true, destructiveHint=false, so the description mainly adds value by confirming read-only behavior ('Read-only') and specifying required auth scope (trace:read). It also discloses that response metadata includes next_cursor for paging but excludes bodies. No contradiction with annotations.

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 well-structured sentences: one for what it does (filters, order, return fields), one for use cases, one for auth. Efficient and front-loaded. Slight redundancy in mentioning 'newest first' followed by cursor paging, but not problematic.

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?

Covers core functionality, pagination, what's excluded, and auth. No output schema exists, so description rightly explains return fields. Lacks explicit mention of default sort or cursor lifetime, but overall complete for a search tool.

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 describes all 8 parameters with coverage 100%. The description adds no new parameter semantics but succinctly summarizes filter dimensions. Baseline 3 is appropriate since schema already does the job.

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 clearly states it queries Kamy Trace records, explicitly lists filter dimensions (feature, status, provider, tag, time window), specifies ordering (newest first), and differentiates it from sibling tools like trace_record (individual record) and scan_tool_description by focusing on search and filtering.

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?

Provides explicit example questions ('how many flagged calls last week?') and a practical use case ('locate a specific record id before opening it in the dashboard'). Clearly states what it does not return (stored prompt and output bodies), guiding agents away from misuse.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose with detailed descriptions that differentiate similar tools (e.g., render_pdf vs render_async vs render_batch, create_signature_request vs create_envelope). No two tools overlap in a way that would cause confusion.

Naming Consistency5/5

All tool names follow a consistent lower_snake_case verb_noun pattern (e.g., attest_artifact, convert_document, list_renders). No mixing of conventions or ambiguous verb choices.

Tool Count4/5

47 tools is high but reflects the broad scope of the platform (document generation, signing, auditing, scheduling, webhooks, verification). Some informational tools could be merged, but the count is still reasonable for the domain.

Completeness3/5

The tool set covers the core document lifecycle well but has notable gaps: no tool to delete renders, no tool to void/cancel signature requests, and no CRUD for templates (only list and schema). The inability to pause schedules via MCP is also a gap.

Resources