Skip to main content
Glama

List requests

list_requests
Read-onlyIdempotent

One project's request log, newest first, with the Requests screen's filters, search and date range, paged by cursor. Pass endCursor back as after for the next page; use get_request for a call's payload. A range is at most 31 days. Mirrors the Requests screen; needs project Read on the project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd of the range, ISO 8601. Defaults to now.
fromNoStart of the range, ISO 8601. Defaults to 24 hours before `to`, the screen's default range.
afterNoThe endCursor of the previous page.
firstNoHow many calls per page, 1 to 100; 25 when omitted.
searchNoMatches a request id, a key name or a data point id.
projectNoThe project's slug, exactly as get_viewer or list_projects returned it. May be omitted when the organization has one live project.
keyNamesNoAPI key names to keep.
statusesNoExact status codes to keep, for example [401].
endpointsNoEndpoints to keep, as routed, for example "/api/v1/ingest".
statusClassesNoStatus classes to keep: "2xx", "4xx", "5xx".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / after / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / endpoints / items / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / endpoints / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedInput schema / properties / keyNames / items / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / keyNames / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedInput schema / properties / project / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / search / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / statusClasses / items / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / statusClasses / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedInput schema / properties / statuses / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive safety profile, so the bar is lower. The description adds valuable operational context: newest-first ordering, cursor pagination, a 31-day range cap, and the project Read authorization requirement.

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?

Front-loads purpose and scope, then folds in pagination, alternative tool, range cap, and permissions without bloating. Minor redundancy between 'with the Requests screen's filters' and 'Mirrors the Requests screen' keeps it from a 5.

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 10-parameter tool with no output schema, it covers pagination, permissions, range limits, default range, and the sibling for payloads. It stops short of describing the returned request fields, but the 'use get_request for a call's payload' hint usefully implies the list is summary-level.

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?

Schema coverage is 100%, so the baseline is 3 and the schema carries most parameter meaning. The description still adds value by explaining the cursor handoff for `after` and by constraining `from`/`to` to a 31-day window, which the schema itself does not enforce.

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?

States a specific verb and resource (list requests), the scope (one project's request log), ordering (newest first), and that it mirrors the Requests screen. It explicitly distinguishes itself from get_request, which handles a single call's payload.

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?

Explicitly routes payload retrieval to get_request, gives the cursor continuation pattern for pagination, states the 31-day maximum range, and names the required project Read permission. An agent knows both how to call it and when the sibling is more appropriate.

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.

Resources