Skip to main content
Glama

get_readme

Fetch the README content for a Dart/Flutter package from pub.dev, optionally by version and as markdown, text, or HTML.

Instructions

Get the README content of a package

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_readme"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name
formatNoOutput format: markdown, text, or html (default: markdown)
versionNoSpecific version (optional, defaults to latest)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing beyond the read operation implied by 'Get'. It does not say what happens when a package has no README, whether content is truncated, or whether the default-version behavior can fail.

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?

A single front-loaded sentence with zero filler. Its brevity is efficient rather than padded, though the terseness is part of why behavioral and usage detail is absent.

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?

For a simple three-parameter read tool with full schema coverage, the description is adequate to select and call it. However, with no output schema, it never states the return shape (raw README text vs. rendered HTML) or how format affects the response, which is the main remaining gap.

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 each of the three parameters documented including the format enum and version default, so the schema does the heavy lifting. The description adds no semantics beyond that, which is the expected baseline when coverage is complete.

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 ('Get the README content of a package'), so the agent knows exactly what is returned. It does not distinguish itself from sibling retrieval tools such as get_changelog or get_package_info, leaving the agent to infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance is given: nothing about when to prefer this over get_package_info or get_changelog, no prerequisites, and no exclusion conditions. The agent must infer usage purely from the tool name.

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