Skip to main content
Glama

osrs_wiki_parse_page

Extract parsed HTML content from specific Old School RuneScape Wiki pages to access detailed game data like items, NPCs, and mechanics for analysis or integration.

Instructions

Get the parsed HTML content of a specific OSRS Wiki page.

Input Schema

NameRequiredDescriptionDefault
pageYesThe exact title of the wiki page to parse (e.g., 'Dragon scimitar', 'Abyssal whip'). Case-sensitive.

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "page": { "description": "The exact title of the wiki page to parse (e.g., 'Dragon scimitar', 'Abyssal whip'). Case-sensitive.", "type": "string" } }, "required": [ "page" ], "type": "object" }

Implementation Reference

  • The switch case handler that executes the osrs_wiki_parse_page tool: validates input using the schema, calls the OSRS Wiki API with the 'parse' action to retrieve the page text content, and returns it as a formatted response.
    case "osrs_wiki_parse_page": const { page } = OsrsWikiParsePageSchema.parse(args); const parseResponse = await osrsApiClient.get('', { params: { action: 'parse', page: page, prop: 'text', formatversion: 2 } }); return responseToString(parseResponse.data?.parse?.text || 'Page content not found.');
  • Zod schema defining the input for the tool: requires a 'page' string parameter.
    const OsrsWikiParsePageSchema = z.object({ page: z.string().describe("The exact title of the wiki page to parse (e.g., 'Dragon scimitar', 'Abyssal whip'). Case-sensitive.") });
  • index.ts:253-257 (registration)
    Tool registration in the listTools response, including name, description, and converted input schema.
    { name: "osrs_wiki_parse_page", description: "Get the parsed HTML content of a specific OSRS Wiki page.", inputSchema: convertZodToJsonSchema(OsrsWikiParsePageSchema), },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JayArrowz/mcp-osrs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server