Skip to main content
Glama

integration_code

Generate Steamworks SDK code for Unity, Godot, Unreal, or C++ from steamworks.yaml, covering init, achievements, stats, leaderboards, and Cloud without editing game files.

Instructions

Steamworks SDK code for the game's engine that uses exactly the app id and the achievement, stat and leaderboard names in steamworks.yaml: starting Steam (restart through Steam, checked init, callbacks, shutdown), unlocking achievements and setting stats (StoreStats included), uploading leaderboard scores, and where to save files for Steam Cloud. Written to .steam-mcp/exports/code//, never into the game.

Args: path: The game's folder (with steamworks.yaml). features: Which parts (default all): init, achievements, stats, leaderboards, cloud. target: unity-steamworks-net, unity-facepunch, godot (GodotSteam 4), unreal or cpp. Default: from the engine and the Steam wrapper the code already uses. source_dir: The engine project folder, when it is not path itself.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
targetNo
featuresNo
source_dirNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only say it is a non-read-only, non-destructive, non-open-world operation. The description adds the key behavioral fact that output is written to .steam-mcp/exports/code/<target>/ and 'never into the game', plus the scope of generated features — real information beyond the annotations.

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 lead sentence front-loads the deliverable and its constraints, then an Args block documents each parameter without repetition. The lead sentence is dense but every clause (output location, 'never into the game', name sourcing) earns its place.

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 an output schema present, return values need no explanation, and all four parameters plus the steamworks.yaml prerequisite and output destination are covered. Minor gaps remain: no mention of behavior when steamworks.yaml is absent or how this relates to `apply`/`check_code` in the workflow.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full load and does: path is the game folder with steamworks.yaml, features lists the exact enum values and the 'default all', target enumerates the supported engines with a concrete mapping (godot = GodotSteam 4) and a default-derivation rule, and source_dir is explained as needed only when it differs from path.

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 a concrete deliverable — Steamworks SDK integration code for the game's engine — and enumerates the covered concerns (init/lifecycle, achievements, stats, leaderboards, cloud). It is clearly distinct from siblings like `check_code`, `apply` or `generate`, though it never explicitly contrasts itself with them.

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?

Usage context is clear: it emits code keyed to the app id and names in steamworks.yaml, and the target defaults to whatever engine/wrapper the project already uses. There is no explicit when-not-to-use guidance or pointer to a sibling for overlapping tasks (e.g. applying the code).

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