Skip to main content
Glama

Cotlet: how to build a Custom API endpoint

cotlet_api_guide
Read-only

Read first when the user wants an API of their own for a job in an app (JSON in, JSON out, called with their Cotlet key): the script SDK, ctx.http, the steps network, test, save, and the rules. Free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cotlet_api_guide"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely new information in "Free" (no cost to call) and the topic list of what the guide covers. It does not say how the guide content is returned (full document vs. sections) or how long it is, which would matter to an agent deciding whether to read it before acting.

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?

One dense sentence, front-loaded with the imperative trigger ("Read first when...") followed by the clarifying parenthetical and the content list. Every clause carries information and nothing is repeated from the title or annotations.

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 zero-parameter, read-only documentation tool with no output schema, the description supplies the trigger, the call shape it documents, and the coverage list. Only a brief note on the form/size of the returned guidance would be missing, which is minor here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters, so the baseline is 4; there is nothing for the description to disambiguate. It correctly avoids inventing arguments for a zero-argument read-only guide.

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?

States a concrete action (read this guide) and a concrete resource scope: building a Custom API endpoint with JSON in/JSON out called with the Cotlet key. The enumeration of covered subjects (script SDK, ctx.http, the steps network, test, save, rules) makes it distinguishable from the app/automation guides and the api_* action tools. It stops short of naming a sibling outright, so differentiation is implied rather than stated.

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?

"Read first when the user wants an API of their own for a job in an app" gives an explicit trigger condition plus sequencing (this precedes the build/test/save tools). There is no explicit when-not or an alternative named for adjacent goals, so it is clear context without exclusions.

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.