Skip to main content
Glama
WaterSippin

OSRS MCP Server

Official
by WaterSippin

osrs_wiki_get_page_info

Retrieve detailed information about specific pages on the Old School RuneScape Wiki by providing comma-separated titles, enabling quick access to essential game data and references.

Instructions

Get information about specific pages on the OSRS Wiki.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titlesYesComma-separated list of page titles to get info for (e.g., Dragon_scimitar,Abyssal_whip)

Implementation Reference

  • Handler implementation for the 'osrs_wiki_get_page_info' tool. Parses input arguments, makes an API call to the OSRS Wiki for page info using the 'query' action and 'info' prop, and returns the response.
    case "osrs_wiki_get_page_info": const pageInfoArgs = getSchemaForTool(name).parse(args) as { titles: string }; const { titles } = pageInfoArgs; const pageInfoResponse = await osrsApiClient.get('', { params: { action: 'query', prop: 'info', titles: titles } }); return responseToString(pageInfoResponse.data);
  • Zod schema defining the input parameters for the tool: a comma-separated list of page titles.
    const OsrsWikiGetPageInfoSchema = z.object({ titles: z.string().describe("Comma-separated list of page titles to get info for (e.g., Dragon_scimitar,Abyssal_whip)") });
  • index.ts:305-308 (registration)
    Tool registration in the list of available tools returned by ListToolsRequestHandler.
    { name: "osrs_wiki_get_page_info", description: "Get information about specific pages on the OSRS Wiki.", },
  • Schema lookup case in getSchemaForTool function used for input validation during tool calls.
    case "osrs_wiki_get_page_info": return OsrsWikiGetPageInfoSchema;
  • index.ts:260-261 (registration)
    JSON schema conversion and caching for the tool in getToolSchemas.
    osrsWikiSearch: convertZodToJsonSchema(OsrsWikiSearchSchema), osrsWikiGetPageInfo: convertZodToJsonSchema(OsrsWikiGetPageInfoSchema),

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/WaterSippin/mcp-osrs'

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