Skip to main content
Glama
GameMaker Documentation MCP Server

GameMaker Documentation MCP Server

by Petah

get_markdown_file

Fetch the content of a specific GameMaker documentation markdown file by path to read GML reference pages directly in your workflow.

Instructions

Fetch the content of a specific markdown file from the documentation

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": {
      "file_path": "<file_path>"
    },
    "name": "get_markdown_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesPath to the markdown file (e.g., "GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_sprite.md")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.12

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. 'Fetch the content' reasonably conveys a read-only retrieval, but it does not state behavior for a nonexistent path, whether the full file is returned, or any size/truncation limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no redundant or filler wording. The purpose is stated immediately and nothing needs to be trimmed.

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 fully documented schema and no output schema, the description is adequate but thin. It omits what the returned content looks like and how failures (bad path, missing file) behave, which an agent would benefit from knowing.

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% and the single file_path parameter already carries a concrete example path, so the schema does the heavy lifting. The description adds no extra meaning about path format, root, or relative-vs-absolute semantics.

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 ('Fetch') and resource ('content of a specific markdown file from the documentation'), which is far more informative than a tautology. It does not explicitly distinguish itself from siblings such as search_gamemaker_docs or lookup_gamemaker_function, though the 'specific markdown file' phrasing hints it is for known paths.

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: an agent can infer this tool is for when it already knows a file path. There is no explicit when-to-use vs when-not, no mention of preferring search_gamemaker_docs when the path is unknown, and no prerequisites stated.

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