Skip to main content
Glama

Get Package README

get_package_readme
Read-onlyIdempotent

Fetch a ZK-Kit package README for API docs, install steps, usage examples, and audit status; use summary mode for a concise install-and-example overview.

Instructions

Fetch the full README for a ZK-Kit package. Contains API docs, usage examples, install instructions, and audit status. Use this when you need detailed documentation for a specific package. Set summary=true for a concise version with just install command, description, and first code example.

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": "get_package_readme"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name (e.g., '@zk-kit/lean-imt', 'lean-imt', 'lean-imt.sol')
summaryNoIf true, return concise summary: install command + description + first code example (saves tokens)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description goes beyond them by disclosing what the response contains and warning that the full README is large enough that summary=true exists to save tokens, a cost trade-off the annotations cannot express and the absent output schema cannot supply.

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?

Three tight sentences: purpose first, payload contents second, mode selection last. Nothing is padded and the token-saving hint sits at the end where it matters after the agent knows what it is fetching.

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?

A simple two-parameter read tool with full schema coverage and annotations covering safety; the description fills the only remaining gap by describing the return contents in the absence of an output schema. No pagination concerns are left unaddressed because the summary mode provides the escape hatch for large documents.

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 100%, with both name and summary fully documented in the schema, so the baseline is 3. The description restates the summary behavior rather than adding new detail, and adds only the framing that names refer to ZK-Kit packages.

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?

States a specific verb and resource ("Fetch the full README for a ZK-Kit package") and enumerates the payload contents (API docs, usage examples, install instructions, audit status). It is clear what it returns, though the overlap with the sibling get_package_api (which presumably returns API docs alone) is not explicitly resolved.

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?

"Use this when you need detailed documentation for a specific package" gives a usage context but is close to restating the purpose, and no sibling alternative is named or excluded. The summary=true instruction does helpfully split the tool into a full versus concise mode, which is genuine routing guidance.

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