Skip to main content
Glama

User-Agent length, value discarded

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

C2.4/5.0
Behavior2/5

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

'No disk access' is a useful, truthful behavioral guarantee, and it is the only non-obvious information provided. However, since annotations are absent, the description carries the full burden of disclosing side effects and semantics. It never explains that the other eight schema parameters are discarded or ignored, nor what the return value looks like, nor whether the tool can be called multiple ways. The disclosure is too incomplete for this operation.

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?

Two short sentences, no filler, and the key non-obvious behavioral fact ('No disk access') is front-loaded only once. Every word earns its place. The issue is under-specification, not verbosity, and conciseness should be judged separately from completeness.

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

Completeness1/5

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

A 9-parameter, zero-required tool with no output schema and no annotations cannot be correctly used based on a two-line description. The writer does not explain the winner—the 9 params and the shape-check tool's role among 27 siblings—nor what the result means. The description is wildly insufficient for the actual task-complexity.

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 coverage is 100% and each parameter has a description, so the heavy lifting for parameter meanings is done by the schema. The tool description adds no parameter-level semantics except the general 'path' hint, and it conspicuously fails to explain why the tool accepts parameters like city, feed, and query that are unrelated to the stated purpose. Baseline of 3 is appropriate due to high coverage, but this is not a positive contribution.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb ('check') and a resource ('whether a path looks safe'), so it is not a tautology. However, after reading it, an agent cannot know which of the tool's nine parameters are relevant, because the schema also accepts ref, url, city, feed, host, json, zone, and query. The description's single-purpose wording conflicts with the broad schema and does not clearly differentiate it from its many sibling 'shape-ok' tools.

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

Usage Guidelines1/5

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

The description gives no guidance on when to call this tool, when not to, or what to use instead. Given 27 sibling tools like browser-url-ok, domain-shape, and wiki-title-shape, an agent has no way to know whether file-path-ok is the right choice. It also omits the condition mentioned in the schema e.g., that all parameters are optional but which one should be passed for what scenario.

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.