Skip to main content
Glama

get_saved_requests

Retrieve saved request samples from the Playground. The Playground allows developers to save example request bodies, headers, and descriptions for specific mock endpoints. Use this tool to discover what request payloads are expected by a mock, read field names and data structures, and understand the different scenarios that have been documented. This is very useful to: (1) know what JSON fields to reference in rule conditions, (2) understand what test cases exist for a mock, (3) use saved request bodies when calling test_mock to verify rule behavior. Each saved request includes: name, method, URL, request headers, body, description, and associated mock/collection/project names.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 well by disclosing that this is a retrieval operation and listing exactly what each saved request includes: name, method, URL, headers, body, description, and associated mock/collection/project names. It does not address permissions, pagination, or result scope, which keeps it from a 5.

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?

The description is front-loaded with the core purpose and then structured into concrete use cases and returned fields. It is somewhat long but every section is useful; minor phrasing could be tightened.

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?

There is no output schema, so the description compensates by enumerating returned fields and explaining the tool's role in the broader workflow. The main remaining gap is scope clarity: with no parameters, it does not explicitly say whether all saved requests are returned or how results are bounded.

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?

The input schema has zero parameters, so there are no parameter semantics to clarify; baseline is 4. The description appropriately does not invent parameter behavior.

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 uses a specific verb and resource: 'Retrieve saved request samples from the Playground.' It clearly explains what saved requests contain and distinguishes this discovery/read operation from related actions like saving requests or testing mocks.

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?

It gives explicit use cases, including discovering expected payloads, reading field names for rule conditions, understanding test cases, and supplying saved bodies to test_mock. It does not explicitly state when not to use it or name a direct alternative such as save_request, so it falls short of a full 5.

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