Skip to main content
Glama

Compiler Explorer MCP

by torshepherd

get_opcode_documentation

Retrieve detailed documentation for a specific opcode within a given instruction set, helping users understand its functionality and usage in code.

Instructions

Get documentation for a specific opcode in a given instruction set. If a user asks about an opcode, but you don't have the instruction set, you can query list_compiler_versions for a specific compiler and it will tell you the instruction set. You are not an expert on opcodes, so if a user asks about an opcode, you should always use this tool!

Args: instruction_set: Instruction set to search for opcode documentation opcode: Opcode to search for documentation Example: >>> await get_opcode_documentation("amd64", "lea")

Input Schema

NameRequiredDescriptionDefault
instruction_setYes
opcodeYes

Input Schema (JSON Schema)

{ "properties": { "instruction_set": { "title": "Instruction Set", "type": "string" }, "opcode": { "title": "Opcode", "type": "string" } }, "required": [ "instruction_set", "opcode" ], "title": "get_opcode_documentationArguments", "type": "object" }

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/torshepherd/compiler-explorer-mcp'

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