Skip to main content
Glama

fikra_generate_api_tests

Produce test cases from an OpenAPI document. Fixed price $0.05 per call. A starting test suite instead of hand-writing every case.

Input Schema

NameRequiredDescriptionDefault
specYes
frameworkNoOptional, e.g. pytest, jest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already establish that this is not read-only, not destructive, not idempotent, and closed-world. The description adds useful cost context ('$0.05 per call') but does not explain output format, whether tests are returned or written somewhere, or how the spec is consumed.

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 only three short sentences and is front-loaded with the core action. The pricing and value sentences are relevant, though the final sentence is slightly promotional rather than operational.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description should do more to explain what the agent gets back, such as generated test code, file artifacts, or a report. It is adequate for a simple two-parameter generation tool but leaves meaningful gaps around output and spec format.

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?

Schema coverage is 50%: framework is described in the schema, but spec is not. The description clarifies that spec is an OpenAPI document, adding some value, but it does not mention the optional framework parameter or accepted spec formats such as JSON or YAML.

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?

The description states a specific verb and resource: producing test cases from an OpenAPI document. This distinguishes it reasonably well from generic unit-test generation and OpenAPI analysis siblings, though it does not explicitly name alternatives.

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 phrase 'A starting test suite instead of hand-writing every case' implies when to use it, but there are no explicit when-not conditions, prerequisites, or named alternatives such as fikra_generate_unit_tests or fikra_analyse_openapi_spec.

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