Skip to main content
Glama

Europe/Copenhagen clock

file-path-ok

Check whether a path looks safe. No disk access.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNoGit ref name; discarded after the shape check
urlNoHTTPS URL to normalize or cite
cityNoCity name for a public weather hint; discarded after the call
feedNoPublic RSS or Atom URL; titles discarded
hostNoPublic hostname
jsonNoJSON text to validate; discarded after the check
pathNoFile path to check; no disk access
zoneNoIANA timezone name
queryNoSearch text; discarded after the length check

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

B3.2/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, and it does contribute one genuinely non-obvious trait: 'No disk access' tells the agent the call is side-effect-free at the filesystem level. However, it never discloses the result format (boolean vs. verdict object), what 'safe' means concretely, or how the out-of-scope schema parameters relate to the check, leaving significant behavioral ambiguity.

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?

Eight words in two sentences: purpose first, key behavioral constraint second, zero filler. Every token earns its place, and the most decision-relevant fact ('No disk access') is immediately visible.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations, no output schema, and a seven-parameter envelope, the definition is too thin: it omits return semantics, the operational definition of 'safe', and any clarification that only 'path' is meaningful among the schema parameters. The unexplained presence of unrelated parameters (ref, url, city, feed, host, json) in the schema compounds the incompleteness.

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 all seven parameters individually documented, so the baseline of 3 applies and the description is not required to repeat them. The description adds nothing about parameters beyond the implicit 'path' focus, and the schema's own 'path: File path to check' is adequate; the anomaly that city/feed/json/ref appear unrelated to a path check is a schema-level concern rather than a description gap.

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: 'Check whether a path looks safe,' and the qualifier 'No disk access' clarifies this is a pure shape-level predicate rather than a filesystem-existence check. It stops short of 5 because 'safe' is never defined (path traversal? absolute paths? special characters?), and none of the sibling 'ok-style' predicates (wiki-title-ok, browser-url-ok) are explicitly differentiated.

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 guidance on when to use this tool versus alternatives, no exclusions, and no mention of the sibling predicates that overlap in intent. 'No disk access' implies a boundary but does not tell the agent when the shape check is the right choice or what to use instead when actual filesystem access is needed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.