Skip to main content
Glama

Build a basic matchmaker configuration

edgegap_build_matchmaker_config
Read-onlyIdempotent

Generate a ready-to-upload Edgegap matchmaker JSON config with team rules, latency, and expansions. Validates app version and ports, then returns config for manual upload.

Instructions

Generate a ready-to-upload Edgegap matchmaker JSON configuration with one profile: team count and size, optional latency rule, and optional expansions that relax the rules the longer a player waits. Checks the referenced application version exists and has ports. Edgegap has no API for creating a matchmaker, so this tool does NOT create one: save the returned config to a file (e.g. matchmaker-config.json) and have the developer upload it on the Matchmaker page of the dashboard. The matchmaker starts an authoritative dedicated server for each match, which is the recommended setup for multiplayer games.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inspectNoExpose the inspection API for debugging. Default true; turn off for production.
versionYesVersion the matchmaker deploys.
expansionsNoRule relaxations after a player has waited this long, e.g. [{after_seconds: 30, min_team_size: 1}].
team_countYesTeams per match. 1 for free-for-all or co-op.
applicationYesApplication the matchmaker deploys.
profile_nameYesProfile clients will queue into, e.g. "casual-2v2".
max_team_sizeYes
min_team_sizeYes
max_latency_msNoAdds a latency rule: drop players above this ping to the chosen region. Needs beacon pings from the client.
verify_versionNoLook up the application version first. Default true.
ticket_expirationNoDefault "5m".
latency_difference_msNoMax ping spread between matched players. Default 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds real value beyond them by disclosing the version/port verification check and the crucial caveat that no server-side matchmaker is created, making the 'generates a file, does not deploy' behavior unambiguous.

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 output is front-loaded in the first clause, followed by the key constraint and workflow. It is a fairly dense paragraph but each sentence (capability, verification, no-API caveat, recommended setup) carries distinct 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 12-parameter tool with no output schema, the description covers the main concept and the return/config-file expectation. It stops short of explaining every optional parameter, but combined with 83% schema coverage an agent has enough 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?

Schema description coverage is 83%, so the schema already documents most parameters. The description echoes the schema's semantics (team count/size, latency rule, expansions that relax rules over time) without adding format or syntax detail the schema lacks, so the baseline 3 is appropriate.

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?

Names a specific verb and resource ('Generate a ready-to-upload Edgegap matchmaker JSON configuration') and enumerates the scope of what one profile contains. An agent can immediately tell it apart from sibling tools like edgegap_create_app or edgegap_deploy, none of which build matchmaker configs.

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?

Explicitly clarifies that Edgegap has no API for creating a matchmaker and that this tool does NOT create one, instructing the agent to save the result and have the developer upload it manually. This is clear usage context, but it describes the output workflow rather than naming a sibling alternative to pick instead.

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