Skip to main content
Glama

parse_maidan_uri

Read-onlyIdempotent

Parses hierarchical maidan:// room URIs into workspace UUID, channel, thread, and message parts, validating authority and rejecting unsupported MCP thread resource or event pin URIs.

Instructions

Parse a hierarchical maidan:// room URI (workspace UUID authority, then channels, threads, messages). The authority must be a workspace UUID, not a handle. Optional sha256 fragment is a content hash. MCP thread resource URIs and event pins are rejected.

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": {
      "uri": "<uri>"
    },
    "name": "parse_maidan_uri"
  }
}

Input Schema

NameRequiredDescriptionDefault
uriYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already cover the behavioral profile (readOnly, idempotent, non-destructive, closed-world), so the description is not carrying the safety burden. It does add real context beyond the annotations: the authority-type constraint, the meaning of the sha256 fragment, and the set of rejected input classes. It says nothing, however, about failure behavior on malformed URIs or about what a successful parse produces.

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?

Three dense sentences, front-loaded with the core action and the structural breakdown, then constraints, then exclusions. No filler, but the heavy parenthetical in sentence one packs a lot into one clause and reads more like a spec fragment than prose.

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

Completeness3/5

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

With one parameter and rich annotations, most of the calling decision is covered, but there is no output schema and the description never indicates what a parse returns (segments as fields? a typed object?). For a tool whose entire job is producing a structured value, that omission is the main remaining gap.

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 0% and the single parameter is documented only as type string, so the description must supply the semantics. It does: the URI is hierarchical with a workspace UUID authority followed by channel, thread, and message segments, plus an optional sha256 content-hash fragment. An agent can validate a candidate URI against these rules before calling.

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 ("Parse") and a specific resource ("hierarchical maidan:// room URI") and enumerates the URI's structural segments (workspace UUID authority, channels, threads, messages). It also draws a boundary by declaring what inputs are rejected, so an agent can distinguish valid targets, though it never names a sibling tool for the alternative cases.

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?

The description gives clear when-not guidance: the authority must be a workspace UUID rather than a handle, and MCP thread resource URIs and event pins are rejected outright. That is genuine input-selection guidance, but it stops short of pointing to whatever tool should be used for those rejected URI shapes.

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

Deploy Server

Other Tools