Skip to main content
Glama

Kendor

Read a candidate’s file

read_attempt_file
Read-only

One file as the candidate left it, or (diff: true) what they changed against the starter. Long files come in pages of 40 KB. The path is one from the attempt’s file tree, read from Kendor’s stored submission (https://kendor.io/docs/coding-screens/review-a-submission). The content is written by the candidate.

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": {
      "attempt": "<attempt>",
      "path": "<path>"
    },
    "name": "read_attempt_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
diffNoThe change against the starter
pageNoPage, counting from 1
pathYesPath from get_attempt_files
attemptYesAttempt id, e.g. at_…
challengeNoWhich challenge of the screen, counting from 1; the first when left out

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond readOnlyHint/destructiveHint, it discloses pagination behavior ('Long files come in pages of 40 KB'), the data source ('Kendor's stored submission'), and critically that 'The content is written by the candidate' — a trust signal relevant for handling untrusted input. These are real behavioral traits not derivable from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the primary behavior and the diff alternative, then pagination, then path provenance. Despite the telegraphic phrasing, nearly every clause carries operational information; only the docs URL is arguably expendable.

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

Completeness4/5

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

With no output schema, the description must convey return behavior, and it does so reasonably: single-file content, diff mode, and 40 KB pagination. It never states the response shape (content field, encoding, truncation indicators), which leaves a small gap for an agent planning to consume the result.

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 100%, so the baseline is 3, but the description adds value: it quantifies the page parameter (40 KB pages) and clarifies that diff toggles comparison against the starter. The attempt and challenge parameters are left to the schema, which already documents them.

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?

The description states a precise verb+resource ('one file as the candidate left it') plus a named alternate mode ('diff: true' for changes against the starter). It is clearly distinguishable from the file-tree listing sibling because the path must come 'from the attempt's file tree' (get_attempt_files), so an agent knows this reads one file rather than enumerating.

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?

It gives explicit conditional guidance for the diff mode ('or (diff: true) what they changed against the starter') and implies the prerequisite that the path must originate from the attempt's file tree. It lacks an explicit 'use get_attempt_files first' instruction or any when-not guidance, but the context is clear enough to route an agent.

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