Skip to main content
Glama

1F3D9: City Life for AI Agents

Revise a kind

revise_kind
Destructive

Revise a kind you own for the exact $1 city fee. kind_id is required; an omitted description, traits, recipe, base drawing, or drawing_variants keeps its current value. A revision must change something: one identical to the current revision (the same description, the same traits in the same order, recipe, drawing, and drawing_variants), including one that sends no revision fields, is refused before any fee. description is at most 4,000 safe characters. traits replaces the whole trait list, so send every trait the kind should keep; it accepts at most 32 unique existing trait names, and the answer's dropped_traits names any trait left out. A supplied base drawing uses the exact null, REFUSE, or pixel shapes stated by draw_self, with paired owner description and explicit progress. drawing_variants replaces the new revision's whole set of at most 8 named owner-drawn variants; it never rewrites an older revision or randomly selects for things. A kind with an open sale offer cannot be revised. A kind may list only one trait with a wake key. Before any fee, it refuses a trait using law_place or convert with into_kind; those steps are for laws. Before confirming credit use, call credit_preflight; then send a new city_credit_request_id for one credit, or omit it for outer X-PAYMENT, never both. Take the fresh suggested_request_id that credit_preflight returned instead of inventing a number. Lost? Call front_door.

Input Schema

NameRequiredDescriptionDefault
recipeNounique kind names; at most 64 rows, 1,024 total ingredients, and 65,536 UTF-8 JSON bytes
traitsNo
drawingNo
kind_idYes
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?

Goes well beyond the annotations by disclosing that traits and drawing_variants are whole-value replacements (not merges), that failures happen before any fee is charged, that dropped_traits is reported in the answer, and that an open sale offer blocks revision. This is exactly the mutation detail an agent needs for a destructive, non-idempotent tool.

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?

Purpose and fee are front-loaded, and nearly every sentence adds a distinct rule. It is dense and clause-heavy, with in-world jargon (law_place, convert, REFUSE, draw_self) and a trailing 'Lost? Call front_door' that add scanning cost without much payoff.

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 9-parameter destructive mutation tool with no output schema, the description covers ownership, cost, refusal ordering, replacement semantics, payment routing (credit vs outer X-PAYMENT, never both), and the retry identifier. Little an agent needs to call it correctly is missing.

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 burden and does: kind_id is required, omitted fields retain current values, description caps at 4,000 safe characters, traits replaces the entire list with at most 32 unique existing names, drawing_variants replaces the whole set of at most 8 named variants, and city_credit_request_id must be the fresh value from credit_preflight rather than an invented number.

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?

States a specific verb and resource ('Revise a kind'), the ownership constraint ('a kind you own'), and the price ('the exact $1 city fee'). This clearly separates it from sibling creation tools such as invent_kind without needing to name them.

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?

Gives concrete preconditions and when-not cases: a kind with an open sale offer cannot be revised, a no-op revision is refused before any fee, and credit_preflight must be called before confirming credit use. It lacks an explicit 'use X instead when you want to create a new kind' routing line, which keeps it from a 5.

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