Skip to main content
Glama

Cotlet: turn a Custom API endpoint off, on or delete it

cotlet_api_control
Destructive

off, on or delete an endpoint by name. Ask the user before delete.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "action": "<action>"
    },
    "name": "cotlet_api_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe endpoint's name, e.g. latest_posts.
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the description was not required to flag the write. It still adds an actionable behavioral requirement — confirm with the user before delete — which is not encoded in any structured field. It omits whether "off" is reversible or whether delete irrecoverably destroys the endpoint definition, which is the main remaining gap.

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, zero filler, with the operation and the safety constraint both stated up front. Nothing in the text could be removed without losing meaning.

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 two-parameter, no-output-schema control tool with annotations already covering the safety profile, this is nearly sufficient. The only material omission is the effect of each action — particularly whether delete is permanent and what "off" leaves behind.

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?

Coverage is 50%: the schema documents `name` with a pattern and example but leaves `action` as a bare enum. The description restates the enum values (off/on/delete) without explaining what each does to the endpoint, so it adds little beyond the schema and does not fully compensate for the undocumented `action` parameter.

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?

"off, on or delete an endpoint by name" names a specific verb set and a specific resource (a Custom API endpoint), so the agent knows exactly what the tool mutates. It does not, however, distinguish itself from siblings like cotlet_api_save or cotlet_api_test, which also operate on endpoints.

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

Usage Guidelines3/5

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

The only usage rule is "Ask the user before delete," which is a valuable guardrail. There is no guidance on when to use this versus cotlet_api_save (changing endpoint behavior) or cotlet_api_test, so the agent must infer the boundary from names alone.

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.