Skip to main content
Glama

inspect_mock_api

Read-onlyIdempotent

Read a mock configuration, usage and recent calls. Set method, path, status, cursor or limit for filtered history. Use resource_request for call assertions and config export.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "inspect_mock_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesResource UUID.
runNoFilter by the X-Kivel-Mock-Run ID.
pathNoFilter exact relative path.
limitNo
tokenNoManagement or inspection token for anonymous resources. Omit for resources owned by your authenticated workspace.
cursorNoContinue with nextCursor from the preceding page.
methodNoFilter HTTP method or protocol operation, such as POST or tools/call.
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Continue with nextCursor from the preceding page.",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "maximum": 50,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / method
      Added value: +{
      +  "description": "Filter HTTP method or protocol operation, such as POST or tools/call.",
      +  "type": "string"
      +}
    • addedInput schema / properties / path
      Added value: +{
      +  "description": "Filter exact relative path.",
      +  "type": "string"
      +}
    • addedInput schema / properties / run
      Added value: +{
      +  "description": "Filter by the X-Kivel-Mock-Run ID.",
      +  "type": "string"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "maximum": 4999,
      +  "minimum": 100,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered structurally. The description adds scope information (it returns config plus usage plus recent call history, and that filters narrow the history). It does not mention pagination behavior, result size limits, or the token/auth implication beyond what the schema says, so it adds moderate rather than rich context.

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?

Three short sentences, front-loaded with the read scope, then filter usage, then the alternative tool. No filler, no repetition of the tool name or annotations.

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 an 8-parameter read-only tool with no output schema, the description covers what is retrieved, what the filters apply to, and where to go for assertions/export. The main residual gap is return shape and pagination semantics, which the cursor parameter only hints at.

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 75%, so the schema carries most of the load, but the description adds real meaning by clarifying that method, path, status, cursor, and limit scope the call-history section rather than the configuration itself — a distinction the schema's 'Filter ...' text leaves ambiguous. The id, run, and token parameters are left to the schema.

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 verb (Read) and enumerates the resources returned: mock configuration, usage, and recent calls. It also names the sibling resource_request as the tool for a different job, so an agent can distinguish the two without opening schemas. The phrasing is slightly clipped ('Read a mock configuration, usage and recent calls') but unambiguous.

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?

Gives an explicit routing rule: use resource_request for call assertions and config export. It also explains what the filter parameters are for ('filtered history'). It does not cover when to prefer inspect_monitor or other inspect_* siblings, so it stops short of full when/when-not coverage.

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.