Skip to main content
Glama
Unilytics MCP Server

Unilytics MCP Server

Official

read_skill_file

Read-only

Retrieve a specific reference or data file from a skill when a step needs it, with paginated content, cursor support, and SHA-256 verification.

Instructions

Return one reference or data file of a skill (e.g. "reference/keyword-pipeline.md", "data/verify_row.py").

A skill keeps long documents and scripts in separate files so they're read only when a step
needs them; get_skill lists them as reference_files and data_files. A long file comes
in pages of up to 40,000 characters as sent (JSON-escaped, so quotes and line breaks count
twice): `truncated` is true and `next_cursor` is set while more follows;
pass it back as `cursor` for the next page. The pages joined in order are the file exactly, and
`sha256` is the hex SHA-256 of the whole file's UTF-8 bytes (the same on every page).

Args:
    skill_id: The skill id (a built-in such as "context/context_write_qa", or user/..., project/...
        or unilytics/...).
        A bare name (the last part of an id, e.g. "keyword_research" or a skill's own name) is
        accepted when exactly one skill the user can use has it; the result then carries `resolved`
        with its full id. A name several skills share is not_found with their full ids in
        `did_you_mean`.
    path: The file path within the skill (e.g. "reference/competitor-analysis.md").
        `file_path` is accepted as an alias (matches the file tools).
    cursor: next_cursor from a previous call, for the next page of the file.

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": {
      "skill_id": "<skill_id>"
    },
    "name": "read_skill_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
cursorNo
skill_idYes
file_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.1.0
    • removedInput schema / properties / config
      Removed value: -{
      -  "default": null,
      -  "title": "config",
      -  "type": "string"
      -}
    • addedInput schema / properties / cursor
      Added value: +{
      +  "default": null,
      +  "title": "Cursor",
      +  "type": "string"
      +}
  2. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only cover safety (readOnly, non-destructive, closed-world), and the description adds substantial behavior beyond that: 40,000-character pages measured on JSON-escaped text, `truncated`/`next_cursor` semantics, cursor round-tripping, byte-exact reassembly, and a per-page sha256 over the whole file. It also discloses resolution failure modes (`not_found`, `did_you_mean`, `resolved`).

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 purpose and examples, then pagination behavior, then an Args block — matching reading order for an agent deciding and then invoking. Sentences are dense but every one carries a distinct fact; the only near-redundancy is "the pages joined in order are the file exactly," which reinforces the sha256 claim.

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 steps up by naming the return fields (truncated, next_cursor, sha256, resolved, did_you_mean) and the pagination contract, so an agent can drive the full loop without trial and error. Minor missing piece: behavior when no file path is supplied, and whether errors surface as fields or exceptions.

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?

With 0% schema description coverage the description must carry all four parameters, and it does: skill_id id formats plus bare-name resolution rules, path with examples and the `file_path` alias, and cursor as next_cursor from a prior call. The one gap is that `path` is optional in the schema yet the description never says what happens when it (and the alias) are omitted.

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 — "Return one reference or data file of a skill" — and immediately disambiguates from the sibling get_skill by noting that get_skill only lists files as reference_files/data_files. Two concrete example paths make the scope unmistakable.

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?

Explains the underlying model (long documents live in separate files read only when a step needs them) and routes listing to get_skill, which is genuinely useful context for choosing this tool. It stops short of explicit exclusions, e.g. it never says what to do if you want the skill's own instructions rather than a file.

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

Deploy Server

Other Tools