Skip to main content
Glama

Set the path of a form or shop

set_path
DestructiveIdempotent

Put a form (alias instead of /f/) or a shop at a path under the address of its brand. The old path redirects. For a form, path null removes the alias; a shop always needs a path. check_path first.

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": "set_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 new path without slashes — or null (form only).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructive=true, idempotent=true, and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavior: the old path redirects after the change, null clears a form alias, and shops cannot have a null path. It stops short of describing permission/auth requirements or what happens if the target path is already taken.

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?

Three short sentences, front-loaded with the core action, then side effects, then the prerequisite. No redundant restatement of the title or schema fields.

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 destructive, open-world mutation with no output schema and full schema coverage, the description supplies the essential operational facts: side effect (redirect), null semantics, per-kind constraints, and the check_path prerequisite. Only auth/permission expectations and conflict behavior are absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a 3 is the baseline. The description still adds meaning: it explains the coupling between 'kind' and 'path' (null allowed only for form) and frames what 'path' means as the alias/location under the brand address, which the schema only hints at.

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

Purpose5/5

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

States a specific verb and resource (put a form or shop at a path) plus the domain scope (under the brand's address) and clarifies that a form path is an alias replacing /f/<slug>. An agent can distinguish this from set_brand_logo, add_domain, or create_form without opening other schemas.

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

Usage Guidelines4/5

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

Gives an explicit prerequisite ('check_path first') and concrete when-to-use constraints: null removes a form alias but a shop always requires a path. It does not enumerate alternatives beyond check_path, so it falls short of the 5 bar, but the actionable context is clear.

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