Skip to main content
Glama

bags_authenticate

Authenticate with Bags API using the V2 signature challenge. Automatically loads your local wallet to verify identity and enable secure access.

Instructions

Authenticate with Bags API utilizing the V2 signature challenge flow. Automatically loads local wallet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
privateKeyPathNoOptional path to the wallet keypair. Defaults to ~/.config/bags/keypair.json or BAGS_KEYPAIR_PATH env var.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.6.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully reveals the V2 signature challenge flow and automatic local-wallet loading, but it does not mention session persistence, whether calling it repeatedly is safe, or what outputs/errors result.

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 short sentences with no filler; the core purpose and key behavioral detail are front-loaded. It is appropriately sized for a tool with one optional parameter.

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 simple tool with a single optional parameter, the description is largely sufficient, but it omits usage context (prerequisite for other Bags tools) and there is no output schema to clarify return behavior. Minimal but adequate.

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?

Schema coverage is 100% and the single optional parameter's description already covers the default path and environment variable. The tool description adds a relevant behavior note about automatically loading the local wallet, but no additional parameter-level detail beyond the schema.

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 names a specific verb ('Authenticate'), the target resource ('Bags API'), and the mechanism ('V2 signature challenge flow'), which clearly distinguishes it from the other bags_* tools that perform claims, trades, and queries. There is no ambiguity about what this tool does.

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

Usage Guidelines2/5

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

No guidance is given about when authentication should be performed, whether it is a prerequisite for sibling tools, or when it can be skipped/reused. The implication that authentication is needed before API calls is present but never stated explicitly.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/edycutjong/BagOS'

If you have feedback or need assistance with the MCP directory API, please join our Discord server