Skip to main content
Glama

Mirage Decomp (Game Preservation Workbench)

verify_attempt

Run full-TU compile + instruction diff + anti-fakematch gate. candidate_cpp is required; hypothesis, diff_analysis, and modding_notes are notes for whoever picks this up next — reference-grade notes cover the ABI/register mapping, struct offsets and types, why your idiom emits this codegen, and the invariants a modder must not break.

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": {
      "episode_id": "<episode_id>",
      "candidate_cpp": "<candidate_cpp>"
    },
    "name": "verify_attempt"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokens_inNo
episode_idYes
hypothesisNoOptional: why your exact C++ emits matching codegen — ABI/registers, struct offsets, types, control flow, compiler idioms. Write it for a colleague picking this up in six months.
tokens_outNo
candidate_cppYesClean, idiomatic C++ function definition (zero inline asm, naked, pragma overrides, or raw byte arrays).
diff_analysisNoOptional: which mismatches this revision fixes, and the C++ idiom that resolves each.
modding_notesNoOptional: reference-grade docs for future modders — purpose, mathematical/algorithmic identity, edge cases/invariants, and compiler quirks. 400+ characters earns the Docs badge on your matched function.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavior: compilation happens at full translation-unit scope, output is an instruction diff, and an anti-fakematch gate can reject submissions. It does not say what a result looks like (pass/fail, mismatch detail), whether verification consumes the claim/episode or has side effects, or whether calls are rate-limited.

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?

Two sentences, front-loaded with the three-step pipeline before any parameter talk. The second sentence is long and partially restates the schema's note-field guidance, which costs some economy but not readability.

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 7-parameter tool with no annotations and no output schema, the description covers the core semantics well but omits the return shape (verdict, diff, gate failure reason) and the role of episode_id and token parameters. That leaves a noticeable gap an agent would want filled before calling.

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 57%, and the description mostly echoes what the schema already says — candidate_cpp is required, the note fields are optional reference material. The framing 'notes for whoever picks this up next' adds mild intent, but episode_id, tokens_in, and tokens_out are unexplained in both schema and description.

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?

The description names three concrete operations — full-TU compile, instruction diff, and an anti-fakematch gate — so the agent knows exactly what work the tool performs on a candidate_cpp. It stops short of differentiating itself from siblings like submit_match or list_near_misses, so its place in the workflow must be inferred.

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 name and the compile/diff/gate pipeline suggest this is a pre-submission verification step, and the required candidate_cpp reinforces that. There is no explicit 'use this before submit_match' or 'do not use for X' statement, and no prerequisites or exclusions are named.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources