Skip to main content
Glama

validate_place_rules_file

Validates a /.well-known/place-rules.json document against the place-rules/0.1 spec, helping venues verify their machine-readable place rules file.

Instructions

Validate a /.well-known/place-rules.json document against the place-rules/0.1 spec. Useful when helping a venue write its file.

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": {
      "document": "<document>"
    },
    "name": "validate_place_rules_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and largely drops it. It does not say whether validation is read-only, what happens on failure (exceptions vs. an error list), whether it fetches the file from a URL or only inspects the passed object, or what the agent gets back. Only the spec version is disclosed.

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 with the resource and spec version front-loaded and zero filler. Nothing is repeated and nothing could be trimmed without losing information.

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?

This is a spec-conformance validator over an arbitrary nested JSON object with no output schema and no annotations, yet the description says nothing about the validation result or how errors are surfaced. For a tool whose entire value is the diagnostic it returns, that is a substantial omission.

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 0% and the single 'document' parameter is an untyped nested object, so the schema tells the agent nothing. The description partially compensates by identifying the parameter as the contents of a /.well-known/place-rules.json file conforming to place-rules/0.1, but it never describes required fields or nested shape, leaving the agent to guess what a valid document looks like.

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 verb (validate) and resource (a /.well-known/place-rules.json document) plus the exact spec version (place-rules/0.1). An agent can tell this is a schema-conformance check rather than a lookup, though it never explicitly contrasts itself with the similarly named check_place_rules sibling.

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?

'Useful when helping a venue write its file' gives one implied usage scenario, but there are no exclusions, no prerequisites, and no indication of when to prefer this over check_place_rules or get_place_rule. The agent must infer the boundary from name similarity alone.

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