Skip to main content
Glama

read_project_resource

Read project resources by relative path, returning decoded JSON for .json files and text otherwise; target the active project or specify another project name.

Instructions

Read any project resource.

Args: resource_path: Project-relative path, e.g. project.json. project: Project name; defaults to the active project.

Returns: Decoded JSON for .json resources, text otherwise.

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

Input Schema

NameRequiredDescriptionDefault
projectNo
resource_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden; it does disclose the return shape (decoded JSON for .json, text otherwise) and that the path is project-relative with the project defaulting to the active one. It says nothing about failure behavior for a missing or invalid path, whether paths can escape the project root, or read-only guarantees, which are meaningful gaps for a filesystem-facing reader.

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?

The one-line purpose is front-loaded, and the Args/Returns sections are compact and skimmable with no filler. Sizing is appropriate for a two-parameter read tool.

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?

An output schema exists, so return values need no further elaboration, and the description still summarizes them briefly. For a simple two-parameter read, the main omissions are error/not-found behavior and how non-JSON or binary resources are handled, neither of which is covered.

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 description coverage is 0%, so the description must carry parameter meaning, and it does: resource_path is given as a project-relative path with a concrete example, and project is explained as a name that defaults to the active project. That default-to-active behavior is real semantic value not present in the schema, which only shows default: null.

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?

The description opens with a specific verb and resource ("Read any project resource") and the Args/Returns block makes the scope of a resource read unmistakable. It does not explicitly differentiate itself from siblings such as read_project_script or read_named_query, so an agent is left to infer whether specialized readers should be preferred for scripts or queries.

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?

There is no when-to-use or when-not-to-use guidance, and no named alternative. The agent is not told that read_project_script or read_named_query exist for narrower cases, nor what to do when a resource does not exist. Usage is only implied by the phrase "any project resource".

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