Skip to content

v1.0.3 — Described tool-parameter schemas

Latest

Choose a tag to compare

@armchairdeity armchairdeity released this 02 Jul 19:01

Improves how every agent (and Glama's schema scorer) sees the tools: every tool parameter now carries a description in the JSON schema.

What's new

  • Per-parameter descriptions across all tools — channel, scale, offset, coupling, level, slope, source, kind, points, confirm, and the rest now explain themselves via Annotated[..., Field(description=...)].
  • Hardened guarded() — resolves type hints with include_extras=True against each tool module, so the Annotated/Field metadata survives from __future__ import annotations and lands in the FastMCP schema.
  • Tightened tool docstrings (usage guidance) along the way.

Why

Fixes the Parameters 1/5 dings on Glama's tool-schema quality score, and — more importantly — makes the tools far easier for any LLM to call correctly.

No behavioral or API changes. ruff clean; 57 tests green; schema introspection confirms descriptions are present.

Full changelog: v1.0.2...v1.0.3