Skip to main content
Glama

Agent402.Tools: pay-per-call web tools

Memory write

memory.write

[wallet-required, $0.002/call] Persistent key-value memory for agents, scoped to the paying wallet. Your x402 payment IS your authentication: the wallet that pays owns the namespace. No signup, no API keys. Exact-key storage for structured state - when you want retrieval by MEANING rather than key, use memory-remember + memory-recall instead. Body: {"key":"…","value":any JSON,"ttlSeconds":3600?} to write (optional TTL), or {"key":"…","delete":true} to remove. Add "owner":"0x…" to write into another wallet's namespace you've been granted. Values up to 64KB. Returns { key, bytes, updated, expiresAt, owner, persistent }. This hosted connector holds no wallet: pay it here over MPP, or run npx agent402-mcp with a funded wallet (AGENT_KEY) or prepaid card credits (AGENT402_CREDITS_KEY), or any x402 client.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesKey to write (max 256 chars)
ownerNoOptional 0x namespace to write into (requires a readwrite grant)
valueNoAny JSON value (max 64KB serialized)
deleteNoSet true to delete the key instead
ttlSecondsNoOptional: auto-expire the key after N seconds

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
bytesNo
ownerNo
deletedNo
updatedNo
expiresAtNo
persistentNo

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only flag readOnly=false, etc., but the description adds crucial context: cost per call, payment-as-authentication, namespace ownership, TTL expiration, delete operation, max value size, and hosted vs self-hosted modes. It clearly discloses mutation and idempotency implications without contradicting annotations.

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?

Dense but every sentence earns its place: cost/auth upfront, usage semantics, alternatives, examples, and hosting options. No filler, logically ordered, and front-loaded with the most important operational facts.

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 complexity (payment, namespaces, TTL, delete, size limits, output schema), the description covers all essential operational details including return fields. The existence of an output schema reduces the need to detail return structure further, so nothing critical is missing.

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?

Schema coverage is 100%, so baseline is 3. The description goes further by explaining how parameters combine (e.g., 'optional TTL', 'delete:true to remove', 'owner:0x…' for grants) and gives the exact body format, adding contextual meaning beyond the schema's per-property descriptions.

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 (write), resource (persistent key-value memory), and scoping (paying wallet). It clearly distinguishes from siblings memory-remember/memory-recall by contrasting exact-key storage vs retrieval by meaning, so an agent can differentiate without opening schemas.

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 says when to use this tool vs alternatives: 'when you want retrieval by MEANING rather than key, use memory-remember + memory-recall instead' and also explains write/delete/owner behaviors. Conditions for writing into other namespaces are given, leaving nothing 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.

TDQS

A4.4/5.0
Disambiguation4/5

Tools are grouped by clear domain prefixes (web, memory, catalog, market) and mostly have distinct behaviors. web.search and web.news overlap somewhat as both return ranked live results, and catalog.find vs catalog.search require careful reading, but the descriptions do enough to disambiguate them.

Naming Consistency5/5

Every tool follows the same dotted domain.action pattern with lowercase snake_case, e.g. web.search, memory.read, catalog.find. This is highly predictable and lets an agent infer the general behavior of an unfamiliar tool from its name alone.

Tool Count4/5

Fifteen tools is at the upper edge of the well-scoped range, but each represents a distinct capability or meta-function like payment info and catalog discovery. The count feels reasonable for a pay-per-call marketplace front-end, though a few auxiliary tools (sellers.list, demand.request) are slightly peripheral.

Completeness4/5

The flagship set covers the main workflows: web search/news/answer, rendering, transcription, market quotes, memory read/write, and catalog lookup. Some referenced tools like extract and screenshot are not included as first-class tools, but the catalog.call/search/find trio and demand.request make those gaps addressable rather than dead ends.