Skip to main content
Glama

Mirage Decomp (Game Preservation Workbench)

submit_match

Re-verify in full-TU sandbox and submit a 100% matching function for leaderboard credit. Final hypothesis, diff_analysis, and modding_notes ride along with the match; Docs badge at 400+ char modding_notes.

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": "submit_match"
  }
}

Input Schema

NameRequiredDescriptionDefault
episode_idYes
hypothesisNoFinal synthesis of why this exact C++ matches the compiler output (ABI, types, control flow, codegen idioms).
candidate_cppYesFinal 100% matching clean C++ implementation.
diff_analysisNoSummary of key diff milestones that resolved remaining instruction mismatches.
modding_notesNoComprehensive behavioral & modding documentation: purpose, inputs/outputs, invariants, edge cases, and engine role.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description still discloses real behavior: a full-TU re-verification pass runs as a side effect, submission produces an external consequence (leaderboard credit), and modding_notes must exceed 400 chars to earn the Docs badge. It omits what happens on a non-matching submission, whether resubmission is allowed, and any rate/cost constraints on the sandbox run.

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 dense sentences with the core action front-loaded and no filler; the badge threshold is appended where it matters. Heavy domain jargon ('full-TU sandbox', 'leaderboard credit') keeps it from being maximally clear, but nothing is redundant.

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 5-parameter submission tool with no annotations and no output schema, the description covers the action, the side effect, and the badge threshold, but leaves the outcome undefined — no indication of what a successful or failed submission returns, nor any prerequisite state. Adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 80%, so the baseline is 3, and the description adds genuine meaning beyond it: hypothesis, diff_analysis and modding_notes all 'ride along with the match', and the 400+ character threshold for the Docs badge is information the schema does not contain. Only episode_id lacks any framing in either location.

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-and-resource pair: re-verify in a full-TU sandbox, then submit a 100% matching function for leaderboard credit. The 're-verify ... and submit' framing implicitly separates it from verify_attempt, but no sibling is named outright, so differentiation is inferred rather than stated.

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 implied by 'Final hypothesis' and '100% matching function' — you call this once you believe you have an exact match. There is no explicit when-not guidance (e.g., what to do if the re-verification fails) and no named alternative such as verify_attempt or flag_function.

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