Skip to main content
Glama

Check a path

check_path
Read-onlyIdempotent

Check whether a path under the address of its brand is free for a form or a shop — against reserved names, other shops, forms and pages. Answers with today → future or with what is in the way. Call it before EVERY set_path.

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": {
      "kind": "<kind>",
      "id": "<id>",
      "path": "<path>"
    },
    "name": "check_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe form's or shop's id from get_address_plan.
kindYesWhat should live at the path: a form or a shop.
pathYesThe wanted path without slashes, e.g. signup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and closed-world scope, so the safety profile is covered outside the description. The description adds the validation universe it consults, which is real behavioral context. However, the returned result is described only as 'Answers with today → future or with what is in the way', which is cryptic and does not tell the agent what a pass or fail actually looks like.

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?

Two sentences, the first carrying the purpose and scope, the second the mandatory usage rule — both earn their place. The fragment 'Answers with today → future' is compressed to the point of unintelligibility and is the one piece of wording that costs the reader more than it gives.

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 three-parameter read-only validator with full schema coverage and existing annotations, the description covers the mandate and the rule set it checks against. The remaining gap is that with no output schema present, the description should explain the verdict shape, and 'today → future or with what is in the way' does not convey what the agent will receive on success versus failure.

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%, including an enum for kind and an example path format, so the schema already carries parameter meaning. The description reinforces intent ('for a form or a shop', 'under the address of its brand') but adds no syntax or constraint beyond that. Baseline 3 is appropriate when the schema does the heavy lifting.

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 gives a specific verb and resource: check whether a path is free for a form or a shop under a brand's address, and names the namespace it is validated against (reserved names, other shops, forms, pages). That is much clearer than a bare 'check_path'. It stops short of a 5 because the phrasing 'under the address of its brand' is slightly indirect and sibling differentiation comes only from the closing mention of set_path.

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

Usage Guidelines5/5

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

It states an explicit, quantified precondition: 'Call it before EVERY set_path.' An agent knows exactly when this tool is required and that it is a mandatory pre-flight step ahead of the mutation sibling. No alternative path to the same outcome is offered, but none is needed for a validator gated in front of one specific writer tool.

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.

Resources