Skip to main content
Glama
Aethis-ai

aethis-mcp

Official
by Aethis-ai

aethis_refine_sections

Add guidance to fix missing, incorrectly split, or misnamed sections, then re-run discovery to verify the corrected section list.

Instructions

Add guidance to improve section discovery, then re-discover sections. Use when sections are missing, incorrectly split, or named differently than expected. Saves the feedback as a domain-level guidance hint and immediately re-runs discovery so you can see the effect. Repeat until the section list matches your expectations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain identifier, e.g. 'uk_citizenship'
sourcesYesThe same source documents used in the initial aethis_discover_sections call
feedbackYesWhat was wrong and how to fix it, e.g. 'The english language and life in the UK test should be separate sections'
openai_keyNoRetired and refused: Aethis LLM tools use Anthropic models only.
anthropic_keyNoAn Anthropic API key the user explicitly provided for this call. [sensitive — do not echo or log] Deprecated: the raw value is written verbatim to the host's session transcript. Never fill this from the environment.
anthropic_key_envNoOptional. Only honoured when it equals the env var the user configured via AETHIS_ANTHROPIC_KEY_ENV in this MCP server's config; that configured key is used automatically, so this can be omitted. Do not guess a variable name: the server refuses any name the user did not configure.
anthropic_key_keychainNomacOS keychain reference the user created for Aethis: either 'service:account' or just 'account' (service defaults to 'aethis-anthropic-key'). The server reads it via the `security` command at call time.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-idempotent, open-world operation, but the description adds the crucial detail that feedback is persisted as a domain-level guidance hint and that discovery re-runs immediately. This explains the non-idempotent persistence and the iteration model, which the annotations alone do not convey.

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?

Four sentences, front-loaded with the action and then the when-to-use condition. Slight redundancy between 'immediately re-runs discovery so you can see the effect' and 'Repeat until the section list matches your expectations,' but nothing is wasted.

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?

For a 7-parameter mutation tool with no output schema, the description explains the iteration loop and what the re-run produces. The sensitive API-key parameters are handled thoroughly in the schema itself, so the description need not repeat them, though it could note that key configuration is required to run.

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 the schema already documents domain, feedback, sources, and the key parameters in detail. The description restates that feedback is a 'guidance hint' and that sources are the same documents, but adds no syntax or format detail beyond the schema, so the 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 sequence (add guidance, then re-discover sections) on a specific resource (sections), and the 'refine' scope is distinguishable from the sibling aethis_discover_sections. An agent can tell it apart from a plain discovery call 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?

Gives explicit trigger conditions: 'when sections are missing, incorrectly split, or named differently than expected,' plus a termination condition ('repeat until the section list matches your expectations'). It doesn't name aethis_discover_sections as the alternative explicitly, but the context is clear enough.

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