Skip to main content
Glama

View one submission the way the dashboard does

codequiry_view_submission
Read-onlyIdempotent

Everything the dashboard's results page shows for one submission, in one call: its files (the first with content inline), its peer and AI matches with line ranges, its web sources, and a rail of every submission in the check with Group, Web and AI scores. Omit submission_id for the highest-scoring submission. Follow with get_submission_file and get_match_counterpart to read the actual code on both sides of a match.

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": {
      "check_id": "<check_id>"
    },
    "name": "codequiry_view_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
check_idYesThe check id returned when the check was created.
submission_idNoWhich submission to load. Omit for the highest-scoring one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish the read-only, idempotent, closed-world safety profile, so the description is free to add payload behavior instead. It does: it discloses that only the FIRST file comes back with content inline, and that the response bundles matches, web sources, and a cross-submission score rail in one call. Minor gap: no mention of response size or truncation behavior for large checks.

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?

Front-loaded with the aggregate payload description, then the defaulting rule, then the follow-up routing — a sensible order. The payload sentence is a long comma-chained list, but every clause maps to a distinct part of the returned data, so little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the full burden of explaining the return payload, and it does so item by item (files, matches with line ranges, web sources, score rail). Combined with annotations covering safety and the schema covering both parameters, an agent has enough to call it correctly and interpret the result.

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 100%, so both parameters are already documented in the schema, and the description's note about omitting submission_id largely restates the schema text. It adds only mild reinforcement rather than new meaning such as defaulting/ranking semantics for ties.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (view one submission) and enumerates exactly what it returns: files, peer/AI matches with line ranges, web sources, and a rail of sibling submissions. It is clearly distinguishable from siblings because it names the two follow-up tools (get_submission_file, get_match_counterpart) that handle the code-reading case this one does not cover.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete selection rule ("Omit submission_id for the highest-scoring submission") and routes the agent forward to get_submission_file and get_match_counterpart when actual code is needed. It does not explicitly contrast with codequiry_get_results or codequiry_get_check_summary, which is the main remaining gap.

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