Skip to main content
Glama

mint_token

Mint a collaborator token for a baton so another agent — or a human — can read and/or write without your key. FREE. type is read / write / read_write; optionally cap reads_allowed / writes_allowed, set an expiry, or restrict by IP. Up to 100 tokens per baton. Owner only. Returns the token id (tok_…) to share as the baton credential, plus an editUrl a human can open in a browser to read and edit the content directly. Works on any baton; best on a checkpoint — that is the document shape, where a save replaces the current state so every reader (human or agent) sees the same thing. On append-shaped batons (scratchpad, ledger) a save adds an entry and the editor shows the newest entry only. Example: mint_token {id:"bat_", type:"read_write"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
typeYes
expires_atNo
ip_allow_listNo
reads_allowedNo
writes_allowedNo
require_fingerprintNo

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full transparency burden. It discloses the free cost, the 100-token per baton limit, the returned token id and editUrl, and the different behavior on checkpoint vs. append-shaped batons. This goes beyond the basic 'mint a token' explanation and gives users a concrete understanding of what happens.

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?

The description is appropriately sized and well-structured. It opens with the core purpose, then covers optional parameters, limits, return values, shape-specific behavior, and ends with a concrete example. Each sentence adds value without unnecessary fluff, making it dense but readable.

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?

Given the tool's complexity (7 parameters, no output schema or annotations), the description covers the essential context: ownership restrictions, token limits, return values, and how different baton shapes affect behavior. It is sufficiently complete for an agent to decide whether and how to invoke this tool correctly.

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?

The schema has 0% description coverage, so the description must compensate. It explains 'type' as read/write/read_write, mentions optional reads_allowed/writes_allowed caps, expiry, and IP restrictions, and provides an example. However, it omits the require_fingerprint parameter, leaving that meaning insufficiently clarified.

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's function: minting a collaborator token for a baton so another agent or human can read/write without the owner's key. This is a specific verb+resource+outcome and distinguishes it from sibling tools like create_baton or read_baton, which operate on the baton itself rather than issuing access tokens.

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?

The description provides strong usage context: it notes 'Owner only' as a prerequisite and recommends using it on checkpoint batons, explaining the behavioral difference on append-shaped batons. It also gives an example invocation. However, it does not explicitly compare this tool with alternatives or state when not to use it, though the intended scenario is clear.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct action and resource, such as baton operations, agent messaging, contracts, and account management. There is no overlap in functionality, making it clear which tool to use for each task.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case (e.g., append_to_baton, create_baton, message_agent). The verbs are descriptive and uniform, aiding predictability.

Tool Count5/5

With 14 tools, the server covers its domain (agent coordination, batons, contracts, tool discovery) without being overbearing. The count is well-scoped for a platform offering a variety of operations.

Completeness3/5

The tool set covers core operations like creating, reading, and appending to batons, as well as messaging and contracts. However, it lacks list or delete operations for batons and contracts, which are notable gaps for a complete lifecycle.

Resources