Skip to main content
Glama

team_key

Retrieves this device's team join request details—principal UID and x25519 wrap public key—to share with an admitted member for team access approval. Read-only; values are non-secret.

Instructions

Show this device's team join request: its bound principal UID and base64 x25519 wrap public key. Send both to an admitted team member so they can grant you (maz team grant --principal --wrap-pubkey ). Read-only; neither value is secret.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
joinKeyYesOpaque join-key blob to hand an admitted member (maz team grant --join-key <blob>). Carries the principal UID, wrap public key, and signing identity; nothing in it is secret.
principalUidYesThis device's bound principal UID.
wrapPublicKeyYesThis device's base64 x25519 wrap public key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With empty annotations the description carries the full burden, and it does disclose the two things that matter most: the operation is read-only and the returned values are not secret, pre-empting an agent's hesitation about exposing a 'key'. It leaves unstated what happens when the device has no pending join request or whether the key rotates.

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 with the purpose, followed by the handoff action and a safety note in two tight sentences. The embedded CLI invocation ('maz team grant --principal ... --wrap-pubkey ...') is marginal for an MCP agent that will more likely call the team_grant tool, but it clarifies the argument handoff.

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 zero-parameter read tool with an output schema and no annotations, the description covers purpose, output identity, safety profile, and next step. Missing only edge-case behavior — error when no request exists, and how a request is created or refreshed.

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?

Zero input parameters, so the 4 baseline applies. The description goes further by naming the two values it returns, which is useful framing even though an output schema already exists.

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 and resource — 'Show this device's team join request' — and names exactly what is returned: the bound principal UID and base64 x25519 wrap public key. It is clearly distinct from the mutation siblings like team_grant or team_join, though it never names team_grant explicitly, leaving the pairing to inference.

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?

Provides a concrete use context: send both values to an admitted team member so they can grant you access. This implied handoff makes the relationship to the grant flow clear. It does not state when not to call it (e.g. already-joined device, or that team_members is the counterpart tool for the member side).

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