Skip to main content
Glama

CivMCP

MCP server that lets an AI read your Civilization VI game and coach you. See PLAN.md for the architecture and phase history.

Description

CivMCP is a read-only MCP server for Sid Meier's Civilization VI (Aspyr Mac 1.4.6). It feeds an AI client — Claude Code, or any other MCP host — three kinds of truth about the game:

  1. Rules from the cached gameplay database (DebugGameplay.sqlite): techs, civics, units, districts, adjacency, eurekas.

  2. History from engine CSVs (Player_Stats, combat, diplomacy, boosts), archived so they survive the game wiping Logs/ on launch.

  3. Live state over the FireTuner socket (127.0.0.1:4318): cities, units, diplomacy, threats, tiles around a city.

A coaching layer on top of that records per-turn snapshots, compares you to speed- and difficulty-scaled pace targets, and turns the gap into advice.

You play every move. The model explains, prioritizes, and points at mistakes. It does not found cities, set production, or end the turn. That is the opposite of civ6-mcp, which plays the game; we reuse some of its read-only Lua (MIT) and nothing that mutates state.

Related MCP server: civ6-mcp

Goals

  • Teach, don't autopilot. After a session you should know why a Campus wants mountains, why a second city is late, or why 4 science/turn has been flat — not just which button to press.

  • Cite the real game. Advice must come from this save's yields, queues, and logs, not from the model's memory of Civ VI.

  • Stay honest about pace. Marathon turn 30 is not standard turn 30. Benchmarks scale by game speed and difficulty so the coach does not invent a crisis.

  • Work on this Mac. Aspyr Apple Silicon has no Lua.log and no io in the sandbox. Live data goes through FireTuner; history goes through archived CSVs.

  • Keep it read-only. No RequestOperation, no deal-making, no “the AI takes your turn.” If a Lua snippet looks like a mutation, it is rejected.

  • Get better from real games. Keep findings that changed a decision; drop the rest. Snapshot history exists so later advice can say “science unchanged for 15 turns.”

Success looks like: you ask “what should I build in my capital and why?” and the answer names the actual queue, yields, and available districts; or “how has my science compared to the AI?” and you get a table from the logs.

Start the server

You need uv (Python 3.12 is installed per-project) and a Civ VI install that has been launched at least once so Logs/ and Cache/ exist.

cd ~/Projects/CivMCP
uv sync

One-shot checks (no MCP client)

uv run civmcp-smoke          # FireTuner: needs Civ VI running, a game loaded, EnableTuner 1
uv run python -m unittest discover -s tests -v
uv run mcp dev src/civmcp/__init__.py   # MCP inspector UI

uv run civmcp is the stdio MCP server. Do not run it by hand in a normal terminal and type at it — an MCP client must spawn it.

Register with Claude Code (this machine)

Already done once as:

claude mcp add civmcp -- uv run --directory ~/Projects/CivMCP civmcp

After you pull new tools/prompts, restart the MCP server (quit/reload Claude Code, or /mcp) so the client picks up the new list.

Other MCP clients

Point the client at stdio:

{
  "mcpServers": {
    "civmcp": {
      "command": "uv",
      "args": ["run", "--directory", "/Users/jonesdevlin/Projects/CivMCP", "civmcp"]
    }
  }
}

Live reads (optional but needed for “what should I build?”)

  1. Quit Civ VI.

  2. In ~/Library/Application Support/Sid Meier's Civilization VI/Firaxis Games/Sid Meier's Civilization VI/AppOptions.txt, under [Debug], set EnableTuner 1.

  3. Launch the game, load a save. The Tuner listens on 127.0.0.1:4318 (achievements are disabled while this is on).

  4. Confirm: uv run civmcp-smoke.

Rules, logs, saves, and log-based coaching work without the Tuner. Live city/unit/map tools do not.

Usage

Typical loop:

  1. Play a few turns (or load a save).

  2. In the MCP client, ask in plain English (examples below). The model should call coach_snapshot / coach_review_turn or the game_* tools — you do not invoke Lua yourself.

  3. Take the advice in-game. Repeat next turn.

Pace is scaled by game speed: Marathon turn N ≈ standard N/3. A one-city Marathon T28 game is still the ancient settler phase.

Example commands (what to type to the AI)

Coaching:

  • Review my turn. What should I do next?

  • Diagnose my science.

  • Diagnose expansion.

  • Explain Campus adjacency.

  • Explain why a Monument is the first building.

  • How does a science victory work from here?

  • What mistakes did I already make?

State (Tuner + loaded game):

  • What should I build in my capital and why?

  • List my units and who is idle.

  • Any barbarians near my cities?

  • What are the tiles around Constantinople?

  • Who have I met and are we at war?

History / logs (game does not need to be open):

  • How has my science compared to the AI over the last 30 turns?

  • Show recent combats and eurekas.

  • List my saves.

Rules (always available after one Civ VI launch):

  • What does a Campus get from mountains and geothermal fissures?

  • Compare Swordsman and Man-At-Arms.

  • What techs do I need for Crossbowmen?

  • Look up Dromon.

If the model has MCP prompts available, these map directly:

You say

Prompt / tool

“Review my turn”

prompt coach_review_turn or tool coach_snapshot

“Diagnose my economy / science / military / expansion”

prompt coach_diagnose

“Explain X”

prompt coach_explain or tool rules_lookup

Tools

Tool

Source

What

civ_status

filesystem

Where CivMCP looks for game data and what it finds. Archives engine CSVs on each call.

civ_tuner_status

Tuner socket

Is the game reachable; current turn if a game is loaded.

rules_lookup(name, kind?)

rules DB

Tech / civic / unit / building / district / improvement / policy / government: cost, prereqs, yields, unlocks, eureka, adjacency, description.

rules_adjacency(district)

rules DB

Full adjacency bonus table for a district.

rules_compare(kind, a, b)

rules DB

Side-by-side stats.

rules_path_to(target)

rules DB

Transitive tech/civic prerequisites with costs.

rules_schema(table?)

rules DB

Tables / columns.

rules_query(sql)

rules DB

Read-only SELECT; localization attached as loc.

game_history(metric, player?, last_n?)

engine CSVs

Per-turn science/culture/gold/faith/cities/score/… for you vs other majors. Survives launch truncation via data/logs/ archives.

game_recent_events(last_n?)

engine CSVs

Combat, meetings, envoys, eurekas, disasters, production-queue changes.

saves_list(limit?)

.Civ6Save headers

Turn, leader, civ, difficulty, speed, map size, timestamp.

game_overview()

Tuner Lua

Live turn, era, yields, government, policies, research/civic + turns left, era score.

game_cities()

Tuner Lua

Cities: pop, yields, housing, amenities, queue, districts, buildings, loyalty.

game_units()

Tuner Lua

Units: type, position, HP, moves, charges, promotions, idle.

game_diplomacy()

Tuner Lua

Relationship, war, grievances, alliances, agendas.

game_threats()

Tuner Lua

Visible enemy/barbarian combat units near you.

game_map_near(city?, radius?)

Tuner Lua

Tiles around a city, unimproved resources, rough district hints.

game_lua(code)

Tuner Lua

Read-only escape hatch; mutations are rejected.

coach_snapshot()

logs + Tuner + sqlite

Record this turn; return pace targets, trends, findings.

coach_findings(area?)

same

Findings only (economy / science / military / expansion).

Prompts

Prompt

What

coach_review_turn

Snapshot + history → at most 5 actions for this turn.

coach_diagnose(area)

Economy / science / military / expansion (or all).

coach_explain(thing)

How a tech/unit/district works, tied to the current game.

Resources

URI

What

civ://coach/benchmarks

Pace table (standard-speed turns) + speed/difficulty multipliers.

civ://coach/mistakes

Common-mistakes checklist.

civ://coach/victory/{path}

Science / culture / domination / religion / diplomacy checklist.

civ://coach/snapshots

Stored per-turn snapshots (data/snapshots.sqlite).

Live Tuner tools need Civ VI running with a game loaded and EnableTuner 1. Engine logs, saves, and coaching-from-logs work without the game open. Marathon turn N is treated as ≈ standard N/3 so the coach does not demand four cities at turn 30.

Tests

uv run python -m unittest discover -s tests -v

Civ VI on this Mac (Aspyr build 1.4.6)

Root: ~/Library/Application Support/Sid Meier's Civilization VI/

Path (under root)

What

Firaxis Games/Sid Meier's Civilization VI/AppOptions.txt

Engine options. [Debug] EnableTuner 1 enables the FireTuner listener (set by us; backup at AppOptions.txt.civmcp-backup). Verified 2026-09-06: opens 127.0.0.1:4318 (126 Lua states) and a decoy :4319 with none. The game rewrites this file on launch/quit, so edit it only while the game is closed. Enabling the Tuner disables Steam achievements.

Firaxis Games/Sid Meier's Civilization VI/Logs/

Engine logs. ~40 per-turn CSVs (Player_Stats.csv, Game_PlayerScores.csv, City_BuildQueue.csv, CombatLog.csv, DiplomacySummary.csv, Game_Boosts.csv, AI_*.csv). Truncated on every launch — archive them. No Lua.log on the Mac build (the string does not exist in the binary), so Lua print() is not a data channel here.

Firaxis Games/Sid Meier's Civilization VI/Cache/DebugGameplay.sqlite

Full gameplay rules DB (318 tables). Rebuilt on launch.

Firaxis Games/Sid Meier's Civilization VI/Cache/DebugLocalization.sqlite

Base-game text only (LocalizedText, BaseGameText). Expansion/DLC text comes from the install's Assets/DLC/*/Text/*.xml, indexed by textindex.py into data/dlc_text_en_US.json.

Sid Meier's Civilization VI/Saves/Single/

Manual saves; autosaves in auto/AutoSave_NNNN.Civ6Save. Magic CIV6, ~2 MB, mixed plaintext header + zlib chunks.

Sid Meier's Civilization VI/Mods/

User mods folder (where the snapshot mod goes).

Game install (read-only reference for Lua API examples): ~/Library/Application Support/Steam/steamapps/common/Sid Meier's Civilization VI/Civ6.app/Contents/Assets/Base/Assets/UI/

Available Tools

8 tools
civ_statusA

Report where CivMCP is looking for Civilization VI data and what it can see.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations provided, the description must carry the burden. It indicates this is a status/diagnostic tool, implying a read-only operation, but does not explicitly state it is safe or side-effect free. It adds context about what is reported but lacks details on limitations or prerequisites.

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?

A single sentence that is front-loaded and delivers the core purpose without any filler. Every word contributes to the meaning.

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?

This is a simple diagnostic tool with no parameters and no output schema. The description adequately explains what it reports (where data is looked for and what is visible). No additional information is necessary for an agent to call it correctly.

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 has zero parameters, so the schema is fully covered. According to guidelines, a baseline of 4 applies for tools with no parameters. The description doesn't need to explain parameters, and it doesn't.

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 uses a specific verb ('Report') and a specific resource ('CivMCP's data locations'). It clearly distinguishes this from sibling tools like rules_query or civ_tuner_status by focusing on data visibility rather than rule operations.

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?

The description implies it is for checking where data is located, but provides no explicit guidance on when to use it versus alternatives. There is no mention of exclusions or conditions, so usage context is only implied.

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

civ_tuner_statusB

Check whether the FireTuner socket is reachable and, if a game is loaded, read the current turn.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.2/5.0
Behavior2/5

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

The description reveals it performs a read-only check and conditional read, but does not mention possible outcomes such as errors when the socket is unreachable or behavior when no game is loaded. Since no annotations are present, this lack of detail leaves behavioral expectations unclear.

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?

The description is a single, concise sentence that front-loads the primary action and avoids unnecessary detail. It is well-structured and to the point.

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

Completeness2/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 should clarify return values or error conditions, but it does not. It leaves ambiguous what happens when the socket is unreachable or when no game is loaded, making it incomplete for an agent.

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 schema has zero parameters, and the description adds no parameter information because none exist. This is acceptable as the baseline for 0 params is 4, and no further explanation is needed.

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 clearly states the tool checks FireTuner socket reachability and reads the current turn if a game is loaded. It is specific and distinguishes itself from the sibling civ_status by focusing on the socket and turn, rather than a generic status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance is provided on when to use this tool versus alternatives like civ_status or rules_query. The description only states the action without specifying appropriate scenarios or conditions.

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

rules_adjacencyC

Adjacency bonus table for a district (e.g. "Campus", "Harbor", "DISTRICT_THEATER"): every rule with yield, tiles required, and the tech/civic that enables or obsoletes it.

ParametersJSON Schema
NameRequiredDescriptionDefault
districtYes

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries full burden for behavioral disclosure. It states the content of the output (yield, tiles required, enabling/obsolescing tech/civic) but does not mention whether the operation is read-only, how errors are handled (e.g., unknown district), or any side effects. For a query-like tool, this is a notable gap.

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 brief and to the point, with no wasted words. The structure is a single sentence with an explanatory clause, which is efficient. It could be slightly clearer in phrasing, but overall it is appropriately concise.

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

Completeness3/5

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

There is no output schema, so the description should explain the return format. It mentions the fields included (yield, tiles required, tech/civic) but does not clarify whether the result is a list, array, or object, nor does it cover edge cases like nonexistent districts or pagination. For a single-parameter tool, it is partially complete but not fully self-sufficient.

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?

The schema provides no description for the 'district' parameter, so the description must compensate. It gives example values that hint at the expected format (internal names like 'DISTRICT_THEATER') but does not clarify case sensitivity, full list of valid values, or whether display names are accepted. This adds some value but leaves ambiguity.

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 clearly states that the tool returns an adjacency bonus table for a district, with examples of district names (Campus, Harbor, DISTRICT_THEATER). It identifies the resource and the specific domain (adjacency bonuses), but it does not explicitly contrast with sibling tools like rules_query or rules_lookup, so it lacks explicit differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. There is no mention of conditions, prerequisites, or alternative tools. The usage context is only implied by the description itself, which is insufficient for an agent to choose correctly among many sibling tools.

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

rules_compareA

Side-by-side stats for two entries of the same kind, e.g. compare("unit", "Swordsman", "Man-At-Arms").

ParametersJSON Schema
NameRequiredDescriptionDefault
aYes
bYes
kindYes

TDQS

A4.2/5.0
Behavior3/5

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

Since no annotations are provided, the description carries the full burden. It implies a read-only comparison but does not explicitly state that there are no side effects or permissions required, leaving some ambiguity.

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?

The description is a single, concise sentence with an illustrative example, delivering the essential information without unnecessary elaboration.

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?

The description is sufficient for basic usage given the low complexity and absence of an output schema, though it does not mention return format or edge cases.

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 schema provides no descriptions, but the example clarifies that 'kind' identifies the category and 'a' and 'b' are the two entries to compare, adding meaningful context beyond raw parameter names.

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 clearly states the tool's function: comparing two entries 'side-by-side' and provides a concrete example with parameters, making it easy to distinguish from sibling tools like rules_query or rules_lookup.

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 explains when to use the tool (for two entries of the same kind) and gives a representative example, but does not explicitly contrast with sibling tools or state when not to use it.

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

rules_lookupB

Look up a technology, civic, unit, building, district, improvement, policy or government by English name or type key (e.g. "Campus", "TECH_WRITING"). Returns cost, prerequisites, yields, what it unlocks, eureka/inspiration trigger, adjacency rules, and the in-game description. kind narrows the search: technology, civic, unit, building, district, improvement, policy, government.

ParametersJSON Schema
NameRequiredDescriptionDefault
kindNo
nameYes

TDQS

B3/5.0
Behavior3/5

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

The description explicitly states the return content (cost, prerequisites, yields, unlocks, triggers, adjacency, description) and implies a read-only lookup operation. However, with no annotations provided, the description carries the full burden of behavioral disclosure and does not explicitly state that the tool has no side effects or what happens when no match is found.

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 concise, using two sentences to convey purpose and parameters. It front-loads the primary action and then lists the return fields and kind parameter, making it easy to scan. No redundant or filler content is present.

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

Completeness3/5

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

The description covers the core functionality, return fields, and the kind parameter, but does not address error cases (e.g., lookup failure), edge cases, or the significance of the output beyond the field list. Without an output schema, this leaves some context missing for an agent deciding how to use the result.

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?

The schema has no descriptions for the parameters (0% coverage), but the tool description partially compensates by explaining that 'name' is an English name or type key and that 'kind' narrows the search with a list of possible values. It does not clarify the default behavior when kind is omitted or the expected format of name, leaving some ambiguity.

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 clearly states the tool's function: looking up a specific game entity by English name or type key, and lists the types of entities covered. It does not explicitly differentiate itself from sibling tools like rules_query or rules_adjacency, but the verb 'look up' and the return field list make the primary purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool instead of alternatives. It does not mention situations where rules_lookup is preferable to rules_query, rules_compare, or other siblings, nor does it explain what makes this tool the right choice for a given request.

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

rules_path_toB

Every technology or civic needed (transitively) to reach the target, with costs and eras.

ParametersJSON Schema
NameRequiredDescriptionDefault
targetYes

TDQS

B3.4/5.0
Behavior3/5

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

The description explains what the tool returns but does not explicitly state whether it is read-only or has side effects. Since no annotations are provided, the description carries the burden; it is not contradictory, but leaves some ambiguity about mutation.

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?

The description is a single, concise sentence that fully conveys the core functionality without unnecessary words. It is well-structured and front-loaded with the key action.

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

Completeness3/5

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

For a simple tool with one parameter, the description covers the main purpose and output content. However, it omits parameter format details and any usage context, leaving some gaps for an agent relying solely on this description.

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

Parameters2/5

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

The single parameter 'target' is only described by its name and type (string). The description mentions 'target' but does not specify the expected format (e.g., technology ID, civic name) or provide constraints or examples.

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 clearly states the tool's function: it returns every technology or civic needed (transitively) to reach a given target, including costs and eras. This is specific and distinguishes it from siblings or generic queries.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not provide explicit guidance on when to use this tool versus the sibling tools (e.g., rules_query, rules_lookup). The purpose is inferable, but no conditions or alternative contexts are mentioned.

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

rules_queryC

Run a read-only SELECT against the gameplay database. The localization DB is attached as loc: JOIN loc.LocalizedText l ON l.Tag = t.Name AND l.Language = 'en_US' to get English names.

ParametersJSON Schema
NameRequiredDescriptionDefault
sqlYes
limitNo

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full transparency burden. It does disclose the read-only nature, which is important, but it does not explain potential side effects, error behavior, or result limits. It also does not mention any permissions or rate constraints, leaving some behavioral aspects undocumented.

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?

The description is extremely concise, with the primary purpose in the first sentence and a specific, practical join example in the second. It avoids unnecessary detail and is well-structured for quick understanding.

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

Completeness3/5

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

For a simple query tool with only two parameters and no annotations or output schema, the description conveys the core purpose and a useful join pattern. However, it leaves the limit parameter and output format unexplained, and does not address possible errors or large result sets. It is adequate but not fully complete for a new user.

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

Parameters1/5

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

The schema lists sql and limit but provides no descriptions, and the tool description does not explain either parameter. The join hint is helpful for writing queries but does not clarify the meaning or constraints of sql or limit. With zero schema description coverage and no compensation, parameter semantics are largely missing.

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 clearly states the tool runs read-only SELECT queries against the gameplay database, which is a specific action and resource. It also provides a useful join pattern for localization. However, it does not explicitly contrast with sibling tools like rules_lookup or rules_adjacency, so its distinct scope is only partially implied.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no explicit guidance on when to use this tool versus the alternative rules_* tools. It does not mention scenarios where this tool is preferred or where other tools should be used instead. The only hint is the general SELECT capability, but that is implicit.

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

rules_schemaA

List the tables in the gameplay database, or the columns of one table.

ParametersJSON Schema
NameRequiredDescriptionDefault
tableNo

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states the action without mentioning side effects, permission requirements, error handling, or whether the operation is read-only. While listing is inherently non-destructive, the description does not add any behavioral context beyond the bare function.

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?

A single, well-structured sentence that front-loads the action and clearly separates the two modes (no table vs. table provided). Every word earns its place with no redundancy.

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 simple schema-listing tool with no output schema, the description covers the essential purpose and parameter effect. It doesn't specify return format or edge cases, but given the low complexity and absence of output schema, it is sufficiently complete for an agent to call it correctly.

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?

The schema has 0% description coverage, so the description must compensate. It does by explaining that the 'table' parameter, when provided, lists columns instead of tables. This adds meaningful semantics beyond the raw schema (which only says 'string or null'). However, it lacks details like case sensitivity, format expectations, or examples.

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 clearly states a specific action ('List') and a specific resource ('tables in the gameplay database, or the columns of one table'). It distinguishes itself from sibling tools (rules_query, rules_lookup, etc.) which focus on querying data rather than inspecting schema. An agent can immediately understand what this tool does and when to use it.

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?

The description implies usage: use it to list tables, or with a table parameter to list columns. However, it does not explicitly state when to prefer this over alternatives or mention exclusions. Sibling tools like rules_query are for data retrieval, so the context is clear but no direct guidance is given.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 8 tool updatesv0.1.0
    • First observedciv_status
    • First observedciv_tuner_status
    • First observedrules_adjacency
    • First observedrules_compare
    • First observedrules_lookup
    • First observedrules_path_to
    • First observedrules_query
    • First observedrules_schema

TDQS

A3.6/5.0

Scored across 8 tools

Disambiguation5/5

Each tool has a clear, distinct purpose: generic SQL query, game entity lookup, adjacency bonus rules, comparison, tech/civic path, schema introspection, and server status. No apparent overlap or ambiguity.

Naming Consistency4/5

The majority use a consistent 'rules_' prefix, but two tools (civ_status, civ_tuner_status) deviate with a 'civ_' prefix. This is a minor inconsistency but still understandable.

Tool Count5/5

With 8 tools, the set is well-scoped—neither too sparse nor overwhelming. Each serves a distinct function relevant to querying and exploring Civilization VI game data.

Completeness4/5

The tool set covers core CRUD-like operations (query, lookup, adjacency, compare, path) and system introspection (schema, status). It lacks obvious write/update operations, but given the read-only nature of the domain, it is reasonably complete.

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables Claude to access real-time Civilization VI game data for strategic analysis, diplomatic intelligence, military assessments, and more via MCP.
    21
    5
    MIT
  • A
    license
    A
    quality
    F
    maintenance
    An MCP server that lets LLM agents play full games of Civilization VI. It connects to a running game and provides tools for unit movement, city management, diplomacy, and more, all through the game's rule-enforcing APIs.
    76
    158
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables human coaches to train AI agents to play Monopoly, with MCP tools for game actions, match hosting, and AI commentary.
    1
    MIT