Skip to main content
Glama

get_city_state

Read-only

Retrieve a city's current coins, resources, and population to establish the game state before planning or taking other actions.

Instructions

Overview of the city: coins, resources, population. Call this first.

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_city_state"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
okYes
codeNo
dataNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe, non-mutating read, and the description adds the contents of the snapshot (coins, resources, population). Beyond that it reveals nothing extra such as freshness, staleness, or scope limits, which matters given idempotentHint=false suggests the returned values may change between calls.

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 short sentences with zero waste: the payload is front-loaded and the ordering instruction follows. Nothing could be removed without losing information.

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 zero-parameter read-only snapshot with a declared output schema, the description covers purpose and call timing adequately; the output schema carries the return-value detail. The only shortfall is not clarifying whether the snapshot can go stale or should be re-fetched, which the non-idempotent annotation hints at.

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 to convey and the schema imposes nothing the description must compensate for. Baseline of 4 applies.

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?

"Overview of the city: coins, resources, population" names a concrete verb-equivalent (overview) and enumerates the specific data returned, so an agent knows this is a read of aggregate city state. Siblings (build_structure, collect_taxes, sell_resource) are actions, and the overview framing implicitly contrasts with them, though no sibling is named directly.

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?

"Call this first" gives a clear ordering directive, which is genuinely useful guidance for an agent starting a session. However, it does not state when-not to call it, whether it should be refreshed mid-session, or explicitly name the action siblings as the follow-up, so usage is implied rather than fully mapped.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.