Skip to main content
Glama

Read a plugin’s data

read_extension
Read-onlyIdempotent

Retrieve a specific plugin resource from your Minecraft server by filling in its path parameters and passing query options to inspect live data.

Instructions

One resource of a plugin from list_extensions, as it is now. Fill the path’s {parameters}: players/Steve for players/{player}. query passes the resource’s own options, such as { "limit": "5" }.

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": {
      "namespace": "<namespace>",
      "path": "<path>"
    },
    "name": "read_extension"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesWith its parameters filled in
queryNo
namespaceYesAs `list_extensions` shows it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv5.0.0
    • changedInput schema / properties / namespace / description
      Previous value: -"The namespace, such as one `list_extensions` shows"New value: +"As `list_extensions` shows it"
    • changedInput schema / properties / path / description
      Previous value: -"The resource path with its parameters filled in"New value: +"With its parameters filled in"
    • removedInput schema / properties / query / description
      Removed value: -"The resource's own options"
  2. Changed1 schema field changedv4.2.1
    • addedInput schema / properties / query / description
      Added value: +"The resource's own options"
  3. First observedv4.1.0

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, non-destructive and closed-world, so safety is covered. The description adds useful behavior (a live snapshot, not cached) but says nothing about what happens when the namespace or path is invalid, whether unknown query options are rejected, or what the response looks like — and there is no output schema to fall back on.

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?

Three short sentences, front-loaded with what is returned before the parameter mechanics, with no filler. The compressed phrasing ("One resource of a plugin") is slightly clipped but not padded.

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 read tool with no output schema and a nested `query` object, the description explains inputs well but leaves the return shape entirely unspecified beyond "one resource". An agent knows how to call it but not what to expect back.

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?

Adds real meaning beyond the 67%-covered schema: it explains that `path` contains `{parameters}` placeholders that must be filled (with a concrete `players/{player}` → `players/Steve` example) and that `query` forwards the resource's own options, illustrated with `{ "limit": "5" }`. It does not note that query values must be strings despite the schema typing them that way.

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 action and resource: retrieves a single resource of a plugin, tied to `list_extensions`, and clarifies it reflects the current state ("as it is now"). It is clearly differentiated from `list_extensions` (one vs. list), though it never explicitly contrasts with the sibling `call_extension`, leaving a small ambiguity about read-vs-invoke.

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?

Implies the workflow — you must first discover resources via `list_extensions` and then read one — but never says when to prefer this over `call_extension` or the many `get_*` siblings. No exclusions or preconditions are stated, so usage must be inferred.

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