Skip to main content
Glama

register_agent

Register an agent with daily and weekly budget limits. Free tool - call this before using check_spend or report_spend. Upserts if agent already exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesUnique agent identifier (e.g. your wallet address or agent name)
category_limitsNoOptional per-category weekly limits (e.g. {security: 1.0, content: 2.0})
daily_limit_usdYesMaximum daily spending in USD
weekly_limit_usdYesMaximum weekly spending in USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses key behaviors: free tool, upsert semantics, and a prerequisite relationship. It does not mention error handling or permissions, but for a registration tool, this is reasonably transparent.

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?

Three short sentences, each providing distinct value: purpose, usage prerequisite, and upsert behavior. No redundancy or filler, perfectly front-loaded.

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?

Given no output schema, the description covers the essential context: what it does, when to call it, and idempotency. It does not describe the response format, but that is not critical for a simple registration tool with good schema coverage.

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 description coverage is 100%, and the schema already provides detailed parameter descriptions. The description adds no new parameter semantics beyond mapping to daily/weekly limits, so baseline of 3 is appropriate.

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 clearly states the tool registers an agent with budget limits, using a specific verb ('Register') and resource ('agent'). It also distinguishes from siblings by noting it should be called before check_spend or report_spend, and mentions upsert behavior, making its purpose unambiguous.

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

Usage Guidelines5/5

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

Explicitly states when to use: 'call this before using check_spend or report_spend'. Also indicates it's free, providing a cost-relevant condition. This gives clear usage context and differentiates from alternatives.

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.