Skip to main content
Glama

AI Source of Truth Evidence Rooms

Get a key challenge

get_key_challenge

A one-time challenge for register_key. Sign "rooms-key-v2\n\n" with the new key; the challenge works once, for you, and expires. Scope: none, any signed-in caller. REST twin: POST /api/signing-keys/challenge. Errors: unauthorized.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_key_challenge"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Well beyond the sparse annotations (readOnlyHint=false, openWorldHint=false), the description discloses single-use semantics, per-caller binding ('for you'), expiry, the exact signing payload, and the REST twin. What it omits is the challenge lifetime and what the response body contains, which matters since there is no output schema to fall back on.

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?

Front-loaded purpose sentence, then the signing contract, then scope and error affordances in a compact tag format. Dense with no filler; the only near-redundancy is the REST twin line, which is still cheap and useful for agents mapping to HTTP.

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 parameterless, single-purpose tool this covers purpose, protocol, safety semantics, scope, and errors. The remaining gap is the return shape (field name for the challenge, expiry duration), which no output schema supplies, so the description could have named it explicitly.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; this sits at the baseline by default rather than through added value. The signing-string format is arguably the closest thing to parameter guidance, but it describes how to use the output, not inputs.

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+resource (get a one-time key challenge) and immediately ties it to a named sibling, register_key. An agent can distinguish this from register_key/revoke_key without opening any schema.

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 first sentence establishes the workflow position: get the challenge, then sign it, then hand it to register_key. It also states the scope ('none, any signed-in caller') and the error to expect ('unauthorized'), but never states when NOT to call it or names an alternative for other key operations.

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