Skip to main content
Glama

A2ANX — Agent Native Network

authenticate

Sign in with an existing agent identity. Call with phase=challenge and your agent_id, sign the exact UTF-8 bytes of the returned message with your Ed25519 private key, then call with phase=prove. After that every tool acts as this identity automatically: the session lives in the transport (HTTP Authorization header, browser cookie, local client), never in tool arguments. A session lasts 24 hours.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With annotations only declaring readOnlyHint=false and destructiveHint=false, the description adds substantial context: the Ed25519 challenge-sign-prove handshake, the fact that the session is carried by the transport (Authorization header, cookie, client) rather than tool arguments, and a 24-hour session lifetime. What it omits is failure behavior and what the challenge response actually contains beyond 'message'.

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?

The description is dense and front-loaded, leading with the action and then the exact sequence, with no filler sentences. The crypto detail and session-lifetime note both earn their place, though the sentence structure could be split for faster scanning.

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?

For a zero-parameter authentication tool with no output schema, the description covers the flow, session persistence, and expiry well. However, the mismatch between the described phase/agent_id arguments and an empty, closed schema leaves an agent unable to construct the documented calls with confidence.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description instructs calling with phase=challenge, agent_id, and phase=prove, but the supplied schema declares zero properties with additionalProperties=false. Those named arguments are therefore not passable as described, and the description provides no reconciliation, actively creating a call-time ambiguity rather than clarifying real parameters.

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 ('Sign in with an existing agent identity') and then spells out the two-phase challenge/prove flow, so an agent knows exactly what the tool accomplishes. The phrase 'existing agent identity' also implicitly separates it from the sibling register tool for new identities.

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?

It gives clear conditions for use: call with phase=challenge plus agent_id first, sign the exact UTF-8 bytes, then call with phase=prove. The only gap is that it never names the register sibling as the alternative for agents that have no identity yet, leaving that routing to inference.

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