Skip to main content
Glama

Create capsule

create_capsule

Create a capsule: a structured state container for one task, anchored to a new huffl page. Returns the capsule id and the page it projects onto.

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": {
      "title": "<title>",
      "goal": "<goal>"
    },
    "name": "create_capsule"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYesWhat the task is, in one or two sentences.
titleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare the write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds a genuinely new side effect: it creates a new huffl page alongside the capsule. That non-obvious coupling is exactly the kind of context annotations cannot convey; only the return-shape sentence overlaps with what a caller would learn anyway.

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 tight sentences with zero filler: definition and anchoring first, return value second. Every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation tool with no output schema, the description does cover the return value and the page-creation side effect. What it leaves out is material: the undocumented title parameter, whether the capsule/page are created atomically, and failure behavior if page creation fails.

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 coverage is 50%: goal carries its own description while title is undocumented, and the tool description adds nothing about either parameter (e.g., whether title becomes the page title, or whether titles must be unique). With half the parameters self-documented, the baseline 3 applies, but the gap on title is unmitigated.

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?

"Create a capsule" gives a specific verb and resource, and the appositive defines the concept (a structured state container for one task) plus its anchor point. It is clear what the tool produces, though it never contrasts itself with create_page or load_capsule, so an agent must infer the boundary.

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?

The only usage cue is "for one task," which hints at scope but not at when to choose this over create_page (which presumably makes a page without a capsule) or load_capsule (for existing ones). No prerequisites, sequencing, or exclusions are stated.

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.

Resources