Skip to main content
Glama

MagicInterview: get context file

magicinterview_get_context_file
Read-onlyIdempotent

Retrieve saved original-file metadata and optionally its base64 content. Content is omitted by default to protect context size.

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": {
      "fileId": "<fileId>"
    },
    "name": "magicinterview_get_context_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYes
includeContentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile needs no restating. The description does add one piece of behavioral value beyond them — the default omission of content and the context-size rationale — but says nothing about error behavior for unknown fileIds, payload size limits, or what the returned metadata contains.

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?

Two short sentences with zero filler; the core retrieval behavior leads and the content-omission caveat follows immediately. Nothing is repeated from the annotations or the schema.

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?

With no output schema and no annotation about returns, the description carries the burden of explaining what comes back, and it only sketches this as 'metadata' plus optional base64. For a two-parameter read tool that is roughly minimum viable, but the shape of the metadata and the failure mode for a bad fileId are left open.

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 description coverage is 0%, so both parameters arrive undocumented. The description compensates for includeContent by explaining it gates base64 content and defaults to omission, but it says nothing about fileId — whether it must come from list_context_files, its format, or its 1-100 character constraint.

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 pairs a specific verb with a specific resource ('Retrieve saved original-file metadata') and calls out the optional base64 payload, which distinguishes it from source-oriented siblings like get_context_source. It stops short of naming the sibling it is not, so an agent must infer the boundary from the fileId-oriented phrasing.

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?

The clause 'Content is omitted by default to protect context size' implicitly tells the agent when to flip includeContent on, which is a real usage signal. However, there is no explicit when-to-use versus when-not-to-use guidance and no reference to get_context_source or list_context_files as the path for discovering file IDs.

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.