Skip to main content
Glama

LessonTariffsDeleteTariffDuration

Destructive

Remove a specific duration from a lesson tariff by supplying the tariff ID and duration ID. Requires client-side confirmation before deletion.

Instructions

Delete a tariff duration.

WARNING: Destructive: removes the tariff duration. Requires client-side approval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
LessonTariffIdYesinteger (required)
LessonTariffDurationIdYesinteger (required)
Install Server

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, but the description goes further by specifying that the operation removes the tariff duration and, notably, requires client-side approval. This adds practical behavioral context beyond the structured hints.

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?

The description is brief and front-loaded with the core purpose. The warning is slightly redundant with the tool name and destructiveHint, but it earns its place by adding the client-side approval requirement and emphasizing the destructive nature for an AI agent.

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 straightforward deletion with two fully covered parameters, the description provides the key operational caveats: destructive behavior and client-side approval. No output schema exists, but for this simple operation the description is sufficiently 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 the baseline applies. Both parameters are documented as required integers, but the description does not explain the semantic difference between LessonTariffId and LessonTariffDurationId. Description adds no value here beyond the schema.

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?

Description uses a specific verb ('Delete') and a precise resource ('a tariff duration'), clearly distinguishing this from sibling tools like LessonTariffsDelete (which deletes a tariff as a whole) and LessonTariffsAddTariffDuration (which adds one). The resource name alone disambiguates the operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives, and no mention of sibling tools such as LessonTariffsGetTariffDurationList for finding the correct duration or LessonTariffsDelete for removing the entire tariff. Usage is only implied by the verb and resource name.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/capitanes/edvibe-school-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server