Skip to main content
Glama

Ferrite

Read a source package

read_package
Read-onlyIdempotent

A one-page app (poll, form, sign-up sheet) needs no package; alloy (thousands of lines) is for larger sites, auth for sign-in. READ one Ferrite source package. Without file: its version, module root, dependency closure in install order, its files (paths as they land in your app), its guide (README and setup), and use, the exact steps to compile it in: the crate-root lines for src/lib.rs, the packages argument for code_gate and deploy_source, and any Cargo features or spec entries it needs. With file (a path from that list, or README.md): that file's text as it lands in your app; a large file comes in parts, continued with offset.

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

Input Schema

NameRequiredDescriptionDefault
fileNoa path from the package's file list (e.g. src/crypto/mod.rs), or README.md
nameYesa package name from list_packages, optionally name@version
offsetNowith `file`: the byte offset to continue from (the previous reply's next_offset)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safe-read profile, but the description adds real behavioral disclosure: what each mode returns (version, module root, dependency closure in install order, file paths as deployed, README/guide, and `use` steps with the exact crate-root lines and `packages` argument for code_gate/deploy_source), plus that large files arrive in parts via `offset`. It does not cover failure modes for an unknown package or a bad path.

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?

Dense and front-loaded around the two branches, with no filler sentences. The opening aside about one-page apps and alloy is relevant but occupies prime position ahead of the core action, and the second sentence is long with heavy parenthetical nesting.

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?

For a read-only tool with no output schema, the description carries the full burden of return-shape disclosure and does so thoroughly, including pagination and how the emitted `use` block maps to downstream compile/deploy arguments. Nothing essential to calling it correctly is missing.

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; the description earns a point by explaining the mode split behind `file` (a path from the returned list, or README.md), describing what the no-`file` mode yields, and connecting `offset` to the previous reply's `next_offset`.

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 ("READ one Ferrite source package") and immediately contrasts it with cases where no package is needed at all, plus names larger alternatives (alloy, auth). An agent can tell what this tool returns without opening the schema.

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?

Explicitly frames the two operating modes: omit `file` to get package-level metadata and setup, or supply `file` to get a single file's contents. It also pre-qualifies whether a package is required at all ("a one-page app ... needs no package"). No alternate sibling tool is named, so the guidance is contextual rather than fully comparative.

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.