Skip to main content
Glama

Apartment Complex: rooms, prices, minimum rent, tax table, eviction rules

get_apartment_rules
Read-onlyIdempotent

[Game reference] Apartment Complex: rooms, prices, minimum rent, tax table, eviction rules. rooms (size, label, count, price scrap, min_rent scrap per day), tax (scrap per full stack of each taxed item), rent_scaling (0 by default: rent is just the minimum), eviction/free-rent/master-key/break-in values. Work out a rent with /apartments/rent. Link https://rust.wiki/apartments.

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": "get_apartment_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds behavior beyond them by characterizing the payload as static reference tables and by noting that rent_scaling defaults to 0, meaning rent equals the minimum unless the value says otherwise. It does not describe the return shape or whether the tables are versioned, which keeps it from a 5.

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 resource and its contents are front-loaded in the first sentence, and the dense parenthetical field annotations are compact rather than padded. The trailing wiki link and endpoint reference are short and potentially useful. The declaration list is slightly run-on and would read better as a short bulleted inventory.

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?

With no output schema, the description must convey what comes back, and it does: rooms, tax per full stack, rent_scaling, and eviction-related values. For a zero-parameter read-only lookup this is close to sufficient. The one gap is that an agent cannot tell the exact response structure or units beyond 'scrap per day' for min_rent.

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 zero parameters, so there is no parameter meaning for the description to carry and the baseline applies. The description's field enumeration is a bonus for interpreting the response, not a parameter explanation.

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?

The description names the resource and enumerates its exact contents: rooms with size/label/count/price scrap/min_rent scrap, a tax table, rent_scaling, and eviction/free-rent/master-key/break-in values. That is far more specific than a restated title and lets an agent distinguish it from the calculation tool. It stops short of a clean verb phrase, opening with a '[Game reference]' tag instead of a verb+resource statement.

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?

Usage is only implied: this is the lookup source, and 'Work out a rent with `/apartments/rent`' gestures at the compute path when the agent actually needs a number. That pointer is an endpoint path rather than a sibling tool name, so routing requires inference. There is no explicit statement of when-not to use it or of prerequisites.

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