Skip to main content
Glama

create_mock

OpenAPI/Swagger 스펙(JSON)으로 목업 API 서버를 생성합니다. 즉시 사용 가능한 엔드포인트 URL을 반환합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes목업 서버 이름
specYesOpenAPI 3.0 또는 Swagger 2.0 스펙 JSON 객체
descriptionNo목업 서버 설명 (선택)

TDQS

A3.6/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It discloses the return value (endpoint URL) but does not mention side effects, validation requirements, uniqueness constraints, permissions, or error handling. For a creation tool, this is a significant gap.

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?

The description is two concise sentences: the first states the action and input, the second states the output. Every word earns its place, with no redundancy or unnecessary detail.

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?

Given there is no output schema, the description appropriately explains the key return value (an immediately usable endpoint URL). It covers the core create-tool behavior and the essential output. However, it does not mention potential prerequisites (e.g., valid spec format) or asynchronous behavior, leaving a minor gap.

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?

The input schema covers all three parameters with descriptions (name, spec, description), so schema coverage is 100%. The description adds no extra parameter semantics beyond what is already in the schema, as it restates the spec input and output. Baseline 3 is appropriate.

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 clearly states that the tool creates a mock API server from an OpenAPI/Swagger spec (JSON) and returns an immediately usable endpoint URL. This specific verb-resource combination ('creates' + 'mock API server') distinguishes it from the sibling tools like delete_mock, list_mocks, and update_mock_response.

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?

The description implies the use case (when you have an OpenAPI spec and need a mock server) but does not explicitly state when to use this tool over alternatives. It lacks exclusions or alternative tool mentions, so it provides only implied guidance.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool addresses a distinct operation: create, delete, list, get details, get logs, and update response. There is no overlap or ambiguity between any two tools.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_mock, delete_mock, list_mocks). The verbs are clear and predictably map to actions, with only minor pluralization differences that do not cause confusion.

Tool Count5/5

With exactly 6 tools, the server is well-scoped for its purpose of managing mock API servers. It provides all essential operations without excessive or redundant tools.

Completeness5/5

The tool surface covers the full lifecycle of a mock server: create, read (list and get details), update responses, and delete. Logs add extra visibility, and there are no obvious missing operations for the intended use case.