Skip to main content
Glama
API Vault
by vinhtran1

search_history

Search local SQLite API request history by keyword, date, method, or status code to locate past calls and debug integrations.

Instructions

Search local SQLite API history by keyword, date, method, or HTTP status code.

Input Schema

NameRequiredDescriptionDefault
dateNoFilter by date (format: YYYY-MM-DD)
limitNoMax results to return (default: 50, max: 200)
queryNoKeyword to search in URL, title, description, or response body
methodNoFilter by HTTP method
status_codeNoFilter by HTTP status code (e.g. 200, 404, 500)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It usefully discloses that the data source is a local SQLite store (no network call, historical data only) and 'search' implies a read-only operation, but it says nothing about result ordering, matching semantics (substring vs token), or what a hit contains.

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?

One sentence, front-loaded with the action and resource, zero filler. Nothing could be removed without losing information.

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?

For a five-parameter, all-optional read tool with a fully described schema and no output schema, this is nearly sufficient. The remaining gap is what a result record looks like and whether filters combine, but the schema handles most of the agent's needs.

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 the schema already documents all five parameters including formats and the default/max for limit. The description's enumeration of keyword, date, method, and status code merely restates the schema and omits limit and combination behavior (AND vs OR across filters).

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?

Specific verb (search) plus resource (local SQLite API history) and the four filter dimensions. It is clearly distinct from execute_request and get_request_detail by virtue of being a search over stored history, though no sibling is named explicitly.

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?

The phrase 'search ... history' implies the retrieval use case, but there is no explicit when-to-use guidance, no mention of when to prefer get_request_detail for full payloads, and no note that export_history is the bulk alternative. Usage must be inferred from the name and description.

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