Skip to main content
Glama
Floe-Labs

Floe Payments and Credit

Official
by Floe-Labs

add_allowlist_entry

Add an allowlist entry to permit a host or payee with a spend cap. Set kind to 'api' for hostname or 'vendor' for wallet address, and specify limit_raw in USDC.

Instructions

Add a merchant-allowlist entry — an allowed-AND-capped policy row. Use kind="api" to allowlist a host (match_key = hostname) or kind="vendor" to allowlist a payee (match_key = recipient wallet). limit_raw caps spend against this entry (raw USDC, 6 decimals). Enforcement only kicks in once set_allowlist_mode is host/vendor/both. Requires an agent key (floe_...).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes"api" for a host entry (match_key = hostname) or "vendor" for a payee entry (match_key = recipient wallet address).
limit_rawYesSpend cap in raw USDC units (6 decimals), positive. e.g. "1000000" = $1.
match_keyYesHost (for kind="api") or payee wallet address (for kind="vendor").
match_kindNoOptional matcher: host_exact | host_suffix (api) or recipient (vendor). Defaults server-side.
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the authentication requirement (agent key floe_...), the conditional enforcement behavior (only after set_allowlist_mode), and the nature of the entry (allowed-AND-capped). This is sufficient for a straightforward add operation, though it does not mention side effects like overwriting or duplicate handling.

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 three sentences with zero filler. Each sentence carries essential information: purpose, kind usage, enforcement condition, and auth requirement. It is well-structured and front-loaded with the primary action.

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?

For a creation tool with no output schema and moderate complexity, the description covers purpose, parameter semantics, prerequisite mode, and auth. It omits the optional match_kind parameter, but the schema fully documents it, so the description remains largely complete for correct invocation.

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% and the schema already documents each parameter. The description adds value by connecting kind to match_key semantics (host vs recipient wallet) and clarifying that limit_raw is in raw USDC with 6 decimals, reinforcing the cap concept. It does not mention optional match_kind, but the schema covers that.

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 starts with a specific verb ('Add') and resource ('merchant-allowlist entry'), and clarifies it as an 'allowed-AND-capped' policy row. It explicitly differentiates the two kinds (api vs vendor), distinguishing it from sibling tools like remove_allowlist_entry or set_allowlist_mode.

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 clearly explains when to use kind='api' (hostname) vs kind='vendor' (payee wallet) and notes that enforcement only occurs after set_allowlist_mode is set, implying the need to use that tool in conjunction. However, it stops short of explicitly naming alternative tools or stating when not to use this one.

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

Install Server

Other Tools

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/Floe-Labs/floe-mcp-server'

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