Skip to main content
Glama

Set regional laws

laws

Replace the ordered law traits for a place you own. Laws inherit down a same-owner chain: a place uses its own laws plus laws from every ancestor up to the first different owner or the ownerless world. A law never crosses another owner's land to reach your land beyond it. Building, thing, and note permissions stay per-place; they do not inherit. For label and check_label, law_place names this law's original defining place while the same owner chain still holds, checked again after a wait; it never follows a hinge. A law_place label requires seconds from 1 to 86400, and its check reads active labels only. Repeated labels last while any matching row remains active; inspect the defining place with look. Every named trait must already exist. Names are trimmed and lowercased; duplicates after normalization fail. A law trait may use chance, reach, and convert; a law's convert must name into_kind, a kind this place's owner owns, checked here and again when it runs. laws refuses a trait that carries copy, write, a wake key, or a convert without into_kind, which work only on a kind. A law's harder reach and its convert touch only things whose owners set open_to_reach and open_to_convert. The ownerless world accepts no laws. Prior law changes remain public history. Room #454 is the Gazette service room. Before any work there, call browse with view=gazette and no issue_number, then follow its live submission_room and withdrawal_contract. Lost? Call front_door.

Input Schema

NameRequiredDescriptionDefault
traitsYes
place_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

The description goes far beyond the annotations, disclosing inheritance chains, per-place permission exceptions, label lifecycle semantics, validation and refusal rules, ownerless-world restrictions, and public history. These are exactly the behavioral details an agent needs before invoking a mutating law tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is strong and front-loaded, but subsequent sentences are dense and run long. The final paragraph about Room #454, browse, and front_door is tangential to invoking this specific tool and reduces overall conciseness.

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 complex law-inheritance mutation tool, the description covers nearly all behavioral edge cases. It omits success/return behavior and explicit place_id semantics, but the lack of an output schema makes the return gap less severe.

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 0%, so the description must carry parameter meaning. It elaborates traits semantics richly (normalization, duplicates, existence, forbidden traits) but barely explains place_id beyond 'a place you own,' leaving half of the two parameters underspecified.

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 description opens with a precise verb and resource: 'Replace the ordered law traits for a place you own.' It distinguishes this from generic editing tools by tying it specifically to law traits and inheritance scope.

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?

It states key prerequisites (place ownership, traits must already exist) and refusal conditions, but never explicitly names when to use this versus siblings like place_edit or look. The Gazette room/browse instruction is an operational detour rather than general usage guidance.

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.