Skip to main content
Glama
local-pc-mcp

local-pc-mcp

by contra333

Select JSON value

file_json_get
Read-only

Reads a single bounded JSON value at a specified JSON Pointer from a local file, respecting the server's read policy.

Instructions

Read one bounded JSON value by JSON Pointer under the local read policy.

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": {
      "path": "<path>",
      "pointer": "<pointer>"
    },
    "name": "file_json_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
pointerYes

Output Schema

NameRequiredDescriptionDefault
pathYes
contentYes
pointerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile needs no restating. The description adds two pieces of context beyond that: the result is bounded to one value, and access is gated by a 'local read policy' — but neither is elaborated (no statement of what the policy rejects, or what happens on a missing pointer).

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 no filler, and the disambiguating phrase 'one bounded JSON value' arrives early. The trailing policy clause is slightly opaque jargon, but nothing is wasted.

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?

For a two-parameter read-only tool with full annotation coverage and an output schema that carries the return shape, the definition covers the essentials. The remaining gaps (path resolution rules, policy failure modes) are minor at this complexity level.

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 0%, so the schema supplies only bare titles 'Path' and 'Pointer'. The description recovers real meaning for one of them by identifying the pointer as a JSON Pointer (RFC 6901 style), implying it addresses into a document. It leaves 'path' unexplained — no statement of whether it is absolute, relative to a root, or whether it must be local.

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 states a specific verb and resource: 'Read one bounded JSON value by JSON Pointer'. 'Bounded' signals a single-value extraction rather than a whole-document read, which loosely distinguishes it from siblings like file_read. It stops short of naming or contrasting any sibling explicitly.

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 alternative named. The phrase 'under the local read policy' hints at a governing constraint but says nothing about when an agent should pick this over file_read or file_search.

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