Skip to main content
Glama

Current AGP Agent Identity

whoami
Read-onlyIdempotent

Returns the stable AGP agent identity bound to this MCP connection, enabling agents to recognize the same identity across reconnections and metadata updates.

Instructions

Return the stable AGP agent identity bound to this MCP connection. Takes no arguments. The id stays consistent across reconnections and metadata updates.

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": "whoami"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
idYesStable AGP URI identity for this connection.
nameNoHuman-readable display name.
roleNoRegistered specialist role.
surfaceNoClient surface (cli, ide, app, cursor, claude, mcp).
listeningNoWhether zero-token agp.listen is currently active.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds genuinely new context beyond those fields: the returned `id` is stable across reconnections and metadata updates, which tells an agent it can cache the value. It does not discuss whether the identity can be unregistered or reset, which would complete the picture.

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 short sentences, front-loaded with the core purpose, and the stability guarantee placed where it matters. The only redundancy is "Takes no arguments," which duplicates the empty input schema. Otherwise every sentence earns its place.

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

Completeness5/5

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

For a zero-argument identity lookup, this is complete: purpose, idempotence/stability, and the key returned field (`id`) are all stated, and an output schema exists so return shape needn't be described. With annotations covering the safety profile, an agent has everything needed to call it correctly.

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?

There are zero parameters and schema coverage is 100%, so the baseline is a 4. However, the sentence "Takes no arguments" merely restates the empty schema rather than adding meaning, so the description contributes no parameter-level insight. Nothing is misleading, but nothing extra is gained.

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?

The description uses a specific verb and resource: "Return the stable AGP agent identity bound to this MCP connection." An agent immediately knows this is a self-identity lookup rather than a registry listing or status poll. It stops short of naming a sibling (e.g., agp_status or agp_discover) to contrast against, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

Usage is only implied: the notion of "identity bound to this connection" suggests calling it to learn who you are before acting. There is no explicit when-to-use, when-not-to-use, or alternative named among the sibling tools that also touch agent identity. Adequate but leaves routing to inference.

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