Skip to main content
Glama

APIMock

List endpoints

list_endpoints
Read-only

List existing endpoints in a workspace. Use this before create_endpoint to avoid a duplicate method+route.

Input Schema

NameRequiredDescriptionDefault
workspaceYesWorkspace slug (from list_workspaces).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds a useful pre-write check rationale but says nothing about return shape, pagination, or whether it lists across all folders – only slightly beyond what annotations give.

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?

Two tight sentences, no filler; the core purpose comes first and the workflow guidance second.

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?

Adequate for a simple single-parameter read tool with annotations covering safety and no output schema. Missing only minor details such as whether results are grouped/paginated, which prevents a 5.

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?

Only one parameter, already 100% documented in the schema (workspace slug, cross-referencing list_workspaces). No additional semantics or format guidance are provided, which is the expected baseline when schema coverage is complete.

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?

Specific verb+resource ('List existing endpoints in a workspace') scoped clearly, and it distinguishes itself from siblings like get_endpoint, create_endpoint, and the other list_* tools.

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 states when to use it: before create_endpoint to avoid a duplicate method+route. This names both the timing and the alternative/preventive purpose, leaving little inference.

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