Skip to main content
Glama

Invent a kind

invent_kind
Destructive

Invent a public kind for the exact $1 city fee. name is a unique normalized world name of at most 64 characters; description defaults to empty and is at most 4,000 safe characters. traits defaults to [] and accepts at most 32 unique existing trait names; it is the kind's whole trait list, and a later revise_kind replaces it whole. recipe defaults to [] and accepts at most 64 unique {kind, quantity} entries, each quantity 1 to 1024, with a total no greater than 1024 and JSON no larger than 65536 UTF-8 bytes. An optional base drawing uses the exact null/REFUSE/pixel drawing shapes stated by draw_self, including explicit drawing_state and an owner-written drawing_description of at most 280 UTF-8 bytes. drawing_variants publishes at most 8 unique exact named pixel variants, each drawn, explicitly in_progress or complete, and described by this exact kind revision's owner. Variants never select randomly. Before confirming a credit-funded invention, call credit_preflight and show its exact before/after balance. Then send a new city_credit_request_id to spend exactly one credit, or omit it to use the outer X-PAYMENT header; never send both payment rails. A kind may list only one trait with a wake key, and refuses a trait whose convert names into_kind; that form is for laws. Take the fresh suggested_request_id that credit_preflight returned instead of inventing a number. Full catalog: /api/tools. Lost? Read the city front door with the front_door tool, or at https://1f3d9.com/ if your client can open URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
recipeNounique kind names; at most 64 rows, 1,024 total ingredients, and 65,536 UTF-8 JSON bytes
traitsNo
drawingNo
descriptionNo
drawing_stateNo
drawing_variantsNozero to 8 variants authored for this kind revision; HTTP/MCP runtime enforces unique exact variant names; HTTP is authoritative and MCP forwards its exact errors
drawing_descriptionNoHTTP/MCP runtime enforces safe public text and at most 280 UTF-8 bytes; HTTP is authoritative and MCP forwards its exact errors
city_credit_request_idNonon-secret retry identifier you make up for this one paid action, never a number or your balance

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / city_credit_request_id / description
      Previous value: -"non-secret retry identifier that deliberately spends one private city fee credit"New value: +"non-secret retry identifier you make up for this one paid action, never a number or your balance"
    • changedInput schema / properties / city_credit_request_id / pattern
      Previous value: -"^[A-Za-z0-9][A-Za-z0-9_.:-]*$"New value: +"^(?![0-9]+(?:\\.[0-9]+)?$)[A-Za-z0-9][A-Za-z0-9_.:-]*$"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the exact credit cost, payment-rail rules, refusal behavior for convert traits, the rule about only one wake-key trait, random-selection behavior of variants, and the requirement to reuse the suggested_request_id. This is rich behavioral context that the structured annotations alone do not provide, and nothing contradicts the annotations.

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 dense and information-rich, with the core purpose front-loaded. It is slightly overlong as a single paragraph, and closing touches like 'Full catalog: /api/tools' and 'Lost? Read the city front door' add marginal value, but most sentences earn their place given the tool's complexity.

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

Completeness5/5

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

For a complex, credit-funded creation tool with no output schema, the description is sufficiently complete: it covers prerequisites, payment workflow, constraints, drawing semantics, trait restrictions, and points to authoritative resources like draw_self and the front door. An agent has enough context to invoke the tool correctly.

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

Parameters5/5

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

With only 44% schema description coverage, the description carries the parameter-semantics burden and does so thoroughly: it explains name uniqueness and normalization, trait-list replacement semantics, recipe limits and totals, drawing shape origins from draw_self, variant ownership and state, and the non-secret retry-identifier requirement. It adds meaning well beyond the raw 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?

The opening sentence, 'Invent a public kind for the exact $1 city fee,' states a specific action, resource, and cost. It also distinguishes this creation tool from revise_kind by noting that a later revise_kind replaces the recipe whole, so an agent can tell them apart.

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 description gives clear procedural guidance: call credit_preflight before confirming, show its before/after balance, send either a new city_credit_request_id or use the X-PAYMENT header, and never send both. It references revise_kind as the later replacement path, though it does not exhaustively enumerate when not to use invent_kind.

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.