Skip to main content
Glama

SGL for developers

Choose how to integrate with SGL

choose_integration
Read-only

Given a game engine, platform or kind of project (Unity, Godot, GameMaker, Roblox, a Minecraft mod, a web game, a Discord bot, a stream overlay, a Shopify store…), says whether SGL has a ready-made plugin for it and how to use it, or, when there isn’t one, how to build the integration: the calls in order, where to keep tokens and keys, and which SGL plugin’s source to port.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "platform": "<platform>"
    },
    "name": "choose_integration"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalsNoOptional: what it should do. sign-in: Sign in with SGL in the game; match: Event lobbies: the player’s called match, ready; results: Results from the game; events: Create and run events from your own tools; registrations: Sign players up from a launcher or bot; webhooks: Hear about changes as they happen; display: Brackets, standings and results on a stream overlay or website. Games default to sign-in, match and results.
platformYesThe engine, platform or project, in the person’s words, e.g. "Unity 2022", "GameMaker", "Fabric mod for Minecraft 1.21", "Discord bot in Python".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so safety and closed-world scope are covered. The description adds real value by disclosing the decision structure of the answer (plugin-vs-build branch, ordered calls, where to keep tokens and keys, which plugin source to port), but it says nothing about response length, format, or whether credentials guidance is generic versus platform-specific — matters for a tool with no output schema.

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?

A single front-loaded sentence that puts the input condition first and the two-branch outcome second, with no filler. The platform example list is long but functional — each example is a real disambiguation case — though trimming a few would tighten it without losing signal.

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 two-parameter, read-only advisory tool with fully described schema and no output schema, the description covers both outcome branches and the practical artifacts an agent needs (call order, credential storage, porting source). The only missing piece is any indication of answer length/format and the sequencing relationship to the documentation siblings.

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?

Schema description coverage is 100%, so both parameters are already documented, including the goals enum and the "Games default to sign-in, match and results" behavior. The description adds only that the platform should be given "in the person's words" indirectly via its example phrasing, and it never references the goals parameter at all — baseline 3 applies since the schema does the heavy lifting.

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?

States a concrete input ("Given a game engine, platform or kind of project") and a concrete deliverable ("says whether SGL has a ready-made plugin for it and how to use it, or... how to build the integration"), then enumerates the deliverable's contents: calls in order, token storage, plugin source to port. The parenthetical platform examples (Unity, Godot, Roblox, Minecraft mod, Discord bot, stream overlay, Shopify store) make the resource scope unambiguous and clearly separate it from the low-level api_reference/code_example siblings.

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: call it when you have a target engine/platform and need to know whether a plugin exists or how to build the integration, including the fallback branch when no plugin exists. It stops short of explicit exclusions or hand-offs — it never says to call this before code_example/api_reference/get_developer_docs, or that those tools cover implementation detail once the path is chosen.

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