Skip to main content
Glama

Peace in Space Game

Server Details

Free deckbuilding 4X space game you play against your AI in the browser. No sign-in, no API key.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4/5.0

Scored across 8 tools

Disambiguation4/5

Most tools have clearly distinct roles: act mutates the game, legal_actions lists valid moves, get_state reads the board, preview_attack simulates combat, and set_plan stores strategic notes. The main overlap is that get_state and wait_for_turn both return the board, and legal_actions partially duplicates state data, but descriptions distinguish them well enough.

Naming Consistency4/5

Six of eight tools follow a readable verb_noun pattern (get_reference, get_state, new_game, preview_attack, set_plan, wait_for_turn). The outliers, act and legal_actions, are natural for a game-action API but slightly break the otherwise consistent convention.

Tool Count5/5

Eight tools is well-scoped for a turn-based strategy game: start, wait, inspect state, list actions, act, preview combat, read references, and persist plans. Each tool earns its place without excessive fragmentation.

Completeness3/5

The core turn loop is covered, but there is no tool to resume or join an existing game by code even though the description says the agent may need to ask for one. That is a notable lifecycle gap, though most in-game operations are otherwise present.

Available Tools

8 tools
actTake an actionAInspect

Do one action on your turn, given as one of the objects from legal_actions. Returns ok, error (why not, if it failed), log (what happened), turn and game_over, and hand_changed when cards left or joined your hand other than by being played. The player sees each move on their map, so it needs no explaining. {"type": "next_phase"} ends the fleet phase (locking ship orders and fleet cards) or the deploy phase (locking card plays); {"type": "end_turn"} (from the buy phase) hands the turn to the player: then call wait_for_turn at once (don't end your reply: the game only comes back to you through wait_for_turn).

To send a ship somewhere it can't reach this turn, use {"type": "move", "fleet": id, "x": x, "y": y, "toward": true}: it goes as far along the way as it can (around the black hole and systems), as its move for the turn. Add "keep": 1 to stop next to a system (to settle or raze it next turn), or "keep": 2 for a Carrier to strike from.

A ship's move can be split over several move orders in a turn (its move_tiles_left says what's left); entering a rival's zone of control ends it.

Under fog of war (The Divide) a move is also walked tile by tile. It stops short, keeping the rest of its move, when a gap, system or ship you hadn't seen is in its way, or a rival ship comes into sight within its attack range; entering a rival's zone of control ends its move. The log line says where it ended up, why it stopped, and the tiles of its move left; look again (get_state or legal_actions) before the next order. An attack, bombard or raze with x, y that stops short on the way makes no attack: its error says where the ship stopped and why.

Inputs: code (required), action (required).

get_referenceRead the rulesA
Read-onlyIdempotent
Inspect

Reference text (Markdown): "rules" (how a turn goes, combat, winning), "production" (every ship and building, with costs and stats) or "techs" (the tech tree by tier, with costs). Prices for what you can buy right now are in legal_actions.

Inputs: code (required), topic (required). Returns: result

get_stateSee the boardA
Read-onlyIdempotent
Inspect

What your empire can see right now: turn, your_turn, your empire (phase, pools, hand with each fleet/tactic card's rules text, techs), your ships' AP, the enemy, every planet and fleet on the map, the board's size, and the log of what you saw happen since your last turn ended. Fields that would be empty, false or 0 are left out. The black hole's tiles (no piece enters them) come with the game's first board only: board=true sends them again (The Divide's gaps, which grow as you chart the board, come every time). Tiles are (x, y) hexes, odd rows shifted half a tile right. Rival details are hidden outside your systems' and fleets' view: a rival ship's type is "unknown" until it has been in view, and a rival ship or system out of view has in_view: false. What's out of view is unknown, not absent. On The Divide (board.fog_of_war) you know only what you've seen: you start with what your homeworld and first ship see, and whatever your ships and systems see is charted for good, gaps too (board.gaps: no piece enters one); planets lists only those systems (one out of sight with in_view: false, holder_last_seen and last_seen_turn), fleets lists rival ships only while in sight, and enemy.homeworld is -1 until you've found it. Both halves hold the same systems: board.your_half says how many colony and outpost sites yours has and how many you've found, so while some are still unfound, a ship sent over your own half finds you room to expand. Your ships there carry move_tiles_left of move_tiles: a turn's move can be spent over several moves. crates lists the supply crates you know of (x, y, resource, amount): a ship that moves onto or through one takes it, +2 of that resource to your pool. Distances are counted for you: each rival ship has nearest_mine (your closest ship or system, in tiles) and, if armed, threatens_fleets / threatens_planets (what of yours it could reach and hit next turn, as the crow flies); each armed ship of yours has in_range_fleets / in_range_planets (what it can hit from where it stands). On Derelict Shipyard, fleets with neutral: true are guards that belong to nobody (guards: the system they hold, which shows guarded: true): they strike any ship that ends its owner's turn near that system, and it can't be settled until they're destroyed. A "notice" says when the player started a new game or their game reloaded its save (and which of your actions that undid). Works on the player's turn too. brief: true answers with the same board as short lines of text: pools, hand, systems, every ship with its HP, AP and what it can hit or threatens, and the log.

Inputs: code (required), board, brief.

new_gameStart a new gameA
Read-only
Inspect

Start a new game. Call this first whenever the player wants to play and their message names no code or link: don't ask them for one. Returns a fresh code and the link for them to open in their own browser: give them the link, then call wait_for_turn in the same reply, which holds until they open it. Only if they say they already have a game open, ask for its code instead. Leave map out (the default map) unless the player asks for a particular one; if they do, pass it, and the game they open starts on it.

Inputs: map.

preview_attackPreview an attackA
Read-onlyIdempotent
Inspect

How an attack by your piece fleet would go, against the enemy piece target or the enemy system planet (give one): from where it stands, or from tile x, y it would move to first (as an attack with x, y from legal_actions does). Changes nothing.

Inputs: code (required), fleet (required), x, y, +2 more.

set_planKeep your planA
Idempotent
Inspect

Keep your plan for this game on the server, where it outlasts your context: each turn's first board (wait_for_turn, get_state) starts with it as your_plan, with the turn you wrote it; later boards that turn just say it's unchanged. Send the whole plan each time: it replaces the last one. Keep to what the board can't tell you: your intent, lessons and triggers. Don't copy the board into it (ship ids, HP, positions): it comes every turn, and a copy is stale within a turn or two. Short and concrete works best, about 10 lines, for example: WIN PATH: how you actually win: whose homeworld falls, how and roughly when. NEXT 3 TURNS (to turn N): what you'll settle, build, research and move. BY TURN N+5 / N+10: where your empire and fleets should be. ENEMY: how they play and where their pushes come from (not a list of their ships). LESSONS: what this game has taught you (what one ship can do to a colony, which ship beats which). DON'T: the mistakes this plan guards against (chasing kills deep into their side, feeding ships in one at a time). REVISE IF: the triggers that mean the plan no longer holds (losing a system, losing 2+ warships, enemy ships within 4 tiles of a colony). Write one on your first turn. Then at the start of each turn, check its REVISE IF triggers against the board and your_plan.since_written (the systems and ships you've lost or gained since you wrote it): rewrite it when one has fired, a step is done or the board changes your mind, and leave it be when it still holds (turns_ago says how long it has stood). The player and their game don't see it. Changes nothing in the game.

Inputs: code (required), plan (required).

wait_for_turnWait for your turnA
Idempotent
Inspect

Wait until it's your turn, then return the board (as get_state). Your first call starts the player's game and gives you your empire; if they haven't opened it yet, it waits for them to, answering {"your_turn": false, "game_open": false} when its hold runs out: call it again. Holds up to 50 seconds; if your turn hasn't started by then it returns {"your_turn": false} with how long the player has been on their turn and usually takes: call it again right away (no need to pause, and don't end your reply to wait for the player: their turn ends when this returns). While the player's game tab is hidden (it pauses the game) it waits the same way, with tab_hidden: true, and returns once they're back. It's safe to call repeatedly and can run as a long-running or background call. The player would rather not have a commentary on your turn. Your turn's board starts with your_plan: the plan you kept with set_plan, the turn you wrote it, turns_ago and since_written, the systems and ships you've lost or gained since (null if none). With brief: true, your turn's board comes as short lines of text instead of JSON (far fewer tokens).

Inputs: code (required), brief.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Turn the AI you already use into a game studio. Describe a game and Claude or Cursor builds it as a real 3D browser game: playable immediately, hosted on its own link, shareable with anyone. No engine, no build step, no code knowledge, nothing to export. Your AI ships the whole thing: it pulls free 3D assets, rigs characters, and playtests its own build until the game works. Free to start.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables LLM agents to play a headless, deterministic 4X civilization game through ten MCP tools for turn briefs, unit orders, city management, research, and map exploration, with scoring against engine AI and do-nothing baselines.
      2
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Exposes Neptune's Pride games as read-only tools so an AI agent can inspect game status, threats, research, players, empire economy, and messages, and detect changes such as incoming attacks, lost stars, completed research, low cash, and looming turn deadlines. This lets an agent poll games on a schedule and alert the player (e.g. over Telegram) only when something needs attention.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Let coding agents play, test and tune your 2D web game. The debuff MCP server attaches to the game you have open (or runs a headless copy) and gives agents live state, explained and source-mapped errors, frame timings, typed params, deterministic replays and rewind, scenario tests and fuzz playtesting. Everything an agent does shows in your dev panel, where you can undo it.
      21
      13
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources