fikra_generate_unit_tests
Write unit tests for a function or module. Fixed price $0.10 per call. Coverage without the setup cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| language | No | ||
| framework | No |
Write unit tests for a function or module. Fixed price $0.10 per call. Coverage without the setup cost.
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| language | No | ||
| framework | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false). The description adds genuinely useful context beyond that: a fixed $0.10 per-call price, which matters for a paid generation endpoint. It does not say what comes back (test code block, file, prose) or how long generation takes.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences with the core purpose front-loaded and no bloat. The closing 'Coverage without the setup cost' is marketing filler that does not earn its place, but it costs little.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and no per-parameter documentation, the description should say more about the return value and about the optional language/framework inputs. The annotations cover the safety profile and the price is disclosed, so the minimum is met, but an agent still cannot tell what it receives back.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so all three parameters (code, language, framework) are bare. The phrase 'for a function or module' loosely hints at the `code` input, but `language` and `framework` are never mentioned, and nothing says whether they can be inferred or defaulted.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and artifact: 'Write unit tests for a function or module.' An agent immediately knows the operation. However, it does not distinguish itself from the close sibling fikra_generate_api_tests, which an agent could easily confuse with this tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use guidance, no exclusions, and no mention of the closely related fikra_generate_api_tests or fikra_review_code alternatives. 'Coverage without the setup cost' is marketing copy, not a usage condition.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.