Skip to main content
Glama
Aethis-ai

aethis-mcp

Official
by Aethis-ai

aethis_create_ruleset

Creates a rule ruleset from source text and required test cases for test-driven rule authoring; then call aethis_generate_and_test to generate and validate.

Instructions

Create a new rule ruleset with source text and test cases (TDD). Test cases are required. After creation, call aethis_generate_and_test.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesHuman-readable name for the rule ruleset
domainNoDomain hint (e.g., 'uk_immigration')
section_idYesUnique section identifier (e.g., 'flight_readiness')
test_casesYesTest cases with optional strict acceptance expectations.
source_textYesThe source legislation, policy, or specification text
contract_versionNoRequired when acceptance expectations or expected_review_bindings are supplied.
expected_review_bindingsNoOptional review-binding catalogue; omit for no assertion or use {} to assert zero bindings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already disclose the write profile (readOnlyHint=false, idempotentHint=false, openWorldHint=true, destructiveHint=false), so the safety burden is partly carried elsewhere. The description adds the required-test-cases constraint and the follow-up generation step, but says nothing about duplicate-creation risk from non-idempotency, permissions, or what the created artifact looks like.

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?

Two short sentences, front-loaded with the action and immediately followed by the precondition and the next tool. Every clause carries information and nothing is padded.

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?

For a fairly complex tool (7 params, nested test_cases, optional contract_version and expected_review_bindings) with no output schema, the description covers the creation-to-generation flow but omits how the response should be interpreted and when the optional expectation-related parameters matter. It is minimally adequate given the strong schema coverage rather than complete.

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 all seven parameters including the nested test_cases shape are already documented in the schema; baseline 3 applies. The description echoes that source_text and test_cases are inputs but adds no format, sizing, or conditional-requirement detail (e.g., contract_version being required when expectations are supplied).

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 and resource ('Create a new rule ruleset with source text and test cases') and flags the TDD framing, so an agent knows this bootstraps a ruleset from source text plus tests. It does not, however, differentiate itself from the sibling aethis_create_rulebook, so the boundary between the two creation tools is left implicit.

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?

Adds real workflow guidance: 'Test cases are required' and 'After creation, call aethis_generate_and_test' tells the agent both a hard precondition and the mandatory next step. It stops short of naming when to prefer this over aethis_create_rulebook or aethis_set_tests, so no exclusions or alternatives are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.