Skip to main content
Glama

Enforce Sla

enforce_sla
Idempotent

[Ledger product, entitlement: ledger] Enforce an SLA/obligation by recomputation: the obligation is met only if the work verifies GREEN against its claimed digest. 3 free calls/day, then entitlement 'ledger'.

Input Schema

NameRequiredDescriptionDefault
inputsYesThe work payload to verify.
obligationNoHuman-readable obligation label.
claimed_digestNoClaimed digest the obligation is conditioned on.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the safety annotations (e.g., `idempotentHint: true`), the description provides high-value behavioral context by explaining the core logic: the enforcement happens through recomputation and a green verification. It also introduces a rate limit (3 free calls).

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?

The description is extremely concise and dense, front-loading critical business logic and operational constraints (recomputation, green verification, rate limits) without any filler.

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?

Despite having no output schema, the definition is complete for a tool of this nature. It defines the conditions for success (green verification) and the operational boundaries (rate limits and entitlement).

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?

With 100% schema description coverage, the definition meets the baseline for parameter semantics. It adds high-level context to the input structure by classifying the inputs as the 'work payload to verify' and the 'claimed digest the obligation is conditioned on.'

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?

The tool clearly states its purpose is to 'Enforce an SLA/obligation by recomputation.' It identifies the action (recomputation) and the mechanism (verifying work against a claimed digest).

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?

The definition sets clear usage criteria: the obligation is met 'only if the work verifies GREEN.' Additionally, it provides crucial operational constraints regarding call limits (3 free calls/day).

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.