Skip to main content
Glama

Register Yolfi Workspace For Agent

yolfi_agent_register

Register a Yolfi workspace to obtain a new API key when no key is set. Provide agent name and project name; returns a single-use API key for use with private tools.

Instructions

Register a Yolfi workspace through the public agent registration endpoint when no YOLFI_API_KEY exists yet. This returns an API key once; store it in an ignored env file or secret manager before using private tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentNameYesName of the coding agent or MCP host, for example Codex, Claude Code, Cursor, or OpenClaw.
projectNameYesUser-approved product or project name for the Yolfi workspace.
projectUrlNoOptional public or local URL of the target product, if known.
integrationIntentNoUser-approved reason for the integration, for example accept_payments, subscription, donation, or sell_digital_product.
languageNoOptional preferred language code for agent-facing responses.
refNoOptional source tag such as mcp, glama, npm, docs, codex, claude-code, or cursor.
metadataNoOptional safe non-secret metadata. Do not include API keys, wallet private keys, tokens, or personal secrets.
Behavior4/5

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

Annotations already indicate non-readonly, non-destructive, open-world. Description adds key behavioral trait: key returned only once, must be stored. No contradiction with 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?

Two sentences, first states purpose and condition, second gives critical action. No unnecessary words.

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?

Describes overall registration flow and crucial post-registration step. Lacks return value details and error handling, but condition 'when no API key exists' implies idempotency or error if key already exists. Adequate for a registration tool.

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% with descriptions for each parameter. Description does not add new parameter info beyond schema, so baseline 3 applies.

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 a Yolfi workspace when no API key exists, and returns an API key. The verb 'Register' and resource 'Yolfi workspace' are specific. It distinguishes from siblings like yolfi_auth_status and yolfi_paylinks_create.

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?

Explicitly states use case: 'when no YOLFI_API_KEY exists yet.' Provides post-use guidance to store the key. Does not explicitly name alternatives but context implies private tools require the key.

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/yolfinance/yolfi-agent'

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