Skip to main content
Glama
GameMaker Documentation MCP Server

GameMaker Documentation MCP Server

by Petah

list_functions_by_category

Lists all GameMaker Language functions within a specified category or module, helping you quickly find relevant GML documentation by category.

Instructions

List all functions in a specific category or module

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": {
      "category": "<category>"
    },
    "name": "list_functions_by_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryYesCategory name (e.g., "Drawing", "Audio", "Instance", "String")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.12

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a read-only enumeration but never states what is returned (names only vs. signatures vs. docs), whether the list is exhaustive, whether an unknown category errors or returns empty, or whether results are paginated.

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 with no filler; nothing needs trimming. Brevity costs it some precision ('category or module' is never disambiguated), which keeps it off a 5.

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 one-parameter read tool with a fully documented schema and no output schema, the definition is serviceable but leaves the return shape and invalid-input behavior unspecified. Those are the only real gaps, but they matter because there are no annotations or output schema to cover them.

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 coverage is 100% and the schema already gives the parameter name plus concrete examples ('Drawing', 'Audio', 'Instance', 'String'). The description adds one nuance the schema lacks: the value may also be a 'module', not just a category. That is a marginal but real addition, so baseline 3 holds.

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?

States a specific verb ('List') and resource ('functions') scoped to 'a specific category or module', which separates it from lookup_gamemaker_function (single lookup) and search_gamemaker_docs (search). It does not explicitly name a sibling, so it falls short of a 5.

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?

Usage is only implied: the word 'List' plus 'category' suggests browsing an enumeration rather than searching by keyword, but there is no explicit when-to-use statement, no when-not-to-use, and no named alternative. An agent must infer that this is the browse-by-category path.

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