Skip to main content
Glama

Diogenes Context Compression & Code Solvers MCP

JSON Schema & Function Signature Boundary-Value Test Vector Generator

generate_boundary_test_vectors
Read-onlyIdempotent

Synthesizes deterministic unit-test vectors from a JSON Schema or function signature covering valid equivalence partitions, numeric/length boundaries, and adversarial Unicode/null inputs. Use when generating exhaustive edge-case unit test payloads and fuzz vectors for an API endpoint or function; for healing and applying unified diffs or search/replace edits to source code, use apply_fuzzy_code_patch instead. Read-only edge call (32 KB, 60 RPM): accepts 'schema_or_signature_json' (with enum defaults), uses '?demo=true' or L402 (20 sats); HTTP 400 if invalid.

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": {
      "schema_or_signature_json": "<schema_or_signature_json>"
    },
    "name": "generate_boundary_test_vectors"
  }
}

Input Schema

NameRequiredDescriptionDefault
vector_suite_profileNoTest generation coverage profile; defaults to 'equivalence_boundary_and_fuzz' when omitted.
schema_or_signature_jsonYesJSON Schema object or function parameter specification to generate test vectors for.

Output Schema

NameRequiredDescriptionDefault
boundary_edge_vectorsYesEdge payloads testing zero, negative, MAX_SAFE_INTEGER, and empty/max length boundaries.
total_vectors_generatedYesTotal number of deterministic test vectors produced.
valid_partition_vectorsYesValid happy-path payloads covering required and optional equivalence classes.
adversarial_fuzz_vectorsYesNegative test vectors testing missing required fields, wrong types, and Unicode/injection strings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly/idempotent/non-destructive) by disclosing a 32 KB response cap, 60 RPM rate limit, the auth model ('?demo=true' or L402 at 20 sats), and the failure mode ('HTTP 400 if invalid'). Those are exactly the operational facts an agent needs before calling a paid edge endpoint.

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?

Purpose is front-loaded in the first sentence and every subsequent clause carries operational value (alternative routing, limits, auth, error code). The final sentence is telegraphic and semicolon-chained, which slightly hurts scannability but wastes no words.

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

Completeness5/5

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

With an output schema present, return values need no prose; the description still covers invocation preconditions, cost/auth, throughput cap, and the error case. Nothing an agent needs in order to call this correctly is missing.

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 description coverage is 100%, so both 'schema_or_signature_json' and 'vector_suite_profile' (with its enum values and default) are already documented in the schema. The description only echoes the input name and alludes to 'enum defaults', adding negligible meaning beyond the structured field; baseline 3 applies.

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?

States a specific verb and resource ('synthesizes deterministic unit-test vectors from a JSON Schema or function signature') and enumerates the coverage classes: equivalence partitions, numeric/length boundaries, adversarial Unicode/null inputs. An agent can distinguish this from neighbors like enforce_json_schema_types or apply_fuzzy_code_patch without opening the schema.

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?

Explicitly says when to use it ('generating exhaustive edge-case unit test payloads and fuzz vectors for an API endpoint or function') and names a sibling to route away to for source-editing work ('use apply_fuzzy_code_patch instead'). The exclusion targets a different task domain rather than a true competing alternative, so it's clear context but not a full when/when-not decision matrix.

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.