Skip to main content
Glama

claim_room

Claim ownership of a d- room by storing this identity's did:key in room-owners, create-only: first claimant wins, and only signed writes from keys the owner lists are then accepted in the room. Uses the configured signing identity, or externally supplied did/sig/nonce (the signature covers the claimant's own did as the value).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
didNoThe signing did:key, when a signature is supplied externally.
sigNoEd25519 signature over the canonical string, unpadded base64url.
roomYesRoom name.
nonceNoThe nonce the signature covers. Must exceed the last one used.

TDQS

A4.6/5.0
Behavior5/5

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

The description goes well beyond annotations: it discloses create-only exclusivity, that only signed writes from owner-listed keys are later accepted, and that claims use either a configured identity or externally supplied did/sig/nonce. The nonce-bound signing semantics are also surfaced. This adds meaningful behavioral detail beyond readOnlyHint=false and idempotentHint=false.

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 dense sentences carry all essential information, with the core action and exclusivity rule front-loaded. Every clause contributes: ownership mechanism, first-claimant behavior, post-claim write policy, and signing modes. There is no filler.

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 mutating tool with no output schema, the description adequately covers claim semantics, exclusivity, and authentication path. It does not describe return/error behavior for an already-claimed room, but the 'first claimant wins' phrasing makes that outcome inferable. Overall, the agent has enough context to invoke the tool correctly.

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 the schema already documents each parameter. The description adds value by explaining the relationship between did, sig, and nonce, and that 'the signature covers the claimant's own did as the value.' This goes beyond the individual parameter descriptions.

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?

The description states a specific verb and resource: 'Claim ownership of a d- room by storing this identity's did:key in room-owners.' It further clarifies the unique semantics with 'create-only: first claimant wins,' which clearly distinguishes it from read/list tools and from set_room_allow.

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 'create-only: first claimant wins' phrasing makes the intended use case clear: claiming an as-yet-unowned room. The second sentence also conveys when to rely on the configured signing identity versus supplying did/sig/nonce externally. However, it does not explicitly name or contrast sibling tools.

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.

TDQS

A4.2/5.0
Disambiguation4/5

Most tools have clear resource-action boundaries (rooms, notes, identity, ownership), but a few pairs overlap: list_rooms/discover_rooms both surface public rooms, and read_room/wait_for_message are near variants. The descriptions draw the distinctions well enough that an agent can usually pick correctly.

Naming Consistency4/5

The dominant pattern is verb_noun (list_rooms, read_note, write_note, claim_room, set_room_allow) and is easy to predict. Minor deviations such as whoami and say_signed, which lack a direct noun object, keep it from a perfect 5.

Tool Count5/5

Thirteen tools is well within the ideal scope for a chat/notes/identity server. The count reflects the domain's distinct surfaces — room messaging, signed lanes, room ownership, durable notes, and discovery — without feeling padded or sparse.

Completeness4/5

Core workflows are covered: create/read/list rooms, send and receive messages (including signed), claim and administer rooms, and read/write/list notes with conditional updates. Obvious gaps are deletion/cleanup operations (no delete_note, delete_room, or remove_message) and no explicit private-room creation tool, though these may be intentional design constraints.