Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Request History

account_request_history

Retrieve recent API request history for your key, including status, credit usage, and cache hits, with filters for endpoint, status code, and date range.

Instructions

Recent API requests for your key — requestId, status, credits, cacheHit (0 credits). Costs 0 credits. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows to return (default 50, max 500). Free — does not consume credits.
sinceNoInclusive lower bound on createdAt (ISO date or datetime).
untilNoExclusive upper bound on createdAt (ISO date or datetime).
cursorNoPagination cursor from nextCursor (createdAt of the last row). Leave empty for the first page.
endpointNoExact Captapi path filter, e.g. /v1/instagram/basic-profile.
statusCodeNoFilter by HTTP status code (e.g. 500).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does meaningful work: it declares the zero-credit cost model, guarantees empty results and failures are never charged, and explains the 24h cache tradeoff. It does not explicitly state that the operation is read-only/no-side-effect, and the advertised cache parameter has no counterpart in the schema, which weakens trust in the behavior claims.

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?

Single compact sentence-group with the resource and cost model front-loaded, which is appropriate for a utility endpoint. Minor waste: credit cost is stated twice ('cacheHit (0 credits). Costs 0 credits.') and the telegraphic phrasing of the field list is slightly ambiguous.

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 naming the returned fields is valuable and mostly covers the return shape; the six query parameters are fully documented in the schema. The remaining gap is the phantom cache parameter and the absence of any mention of cursor-based paging behavior in prose, though the cursor field documents itself.

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 coverage is 100%, so baseline is 3; the description adds return-field semantics but no filtering syntax beyond what the schema documents. Worse, it instructs 'Pass cache=true' while the schema has no cache property and sets additionalProperties=false, so an agent following the description could emit an invalid call.

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 resource and scope: 'Recent API requests for your key', and enumerates the returned fields (requestId, status, credits, cacheHit). It clearly reads as a per-request log rather than an aggregate, but it never names or contrasts siblings such as account_daily_usage or account_most_used_routes, leaving that differentiation to inference.

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?

Offers conditional guidance for one path ('Pass cache=true for a free 24h cache hit (default always fresh)') and reassures on cost, but says nothing about when to choose this tool over the balance/usage siblings or what filtering strategy to use (since/until vs endpoint vs statusCode). Usage is implied rather than prescribed.

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

Deploy Server

Other Tools