Skip to main content
Glama

x402_codeberg_get_v1_users_username

Fetches a Codeberg user profile by username, returning public account details from the Gitea-compatible API.

Instructions

codeberg — Codeberg API (Gitea-compatible): repositories, users, branches, commits. Free, no key for public data. [GET /v1/users/{username}] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/users/octocat

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_codeberg_get_v1_users_username"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations at all, the description carries the full disclosure burden, and it does contribute real behavioral facts: paid call at $0.005 USDC across four chains, free/no-key for public data, and Gitea compatibility for response shape expectations. It omits rate limits, failure/refund behavior, and what a successful response looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense and front-loaded: domain and endpoint come first, then pricing and an example. Every clause carries information, though the telegraphic style (slash-separated facts, bare price string) is slightly harder to parse than a prose sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description should say something about the returned user shape, and it does not. It covers cost and auth adequately for a paid GET endpoint but leaves the required path argument and the response contents underspecified.

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% for the four declared wrapper parameters (body, query, restart, operationId), which sets the baseline at 3. However, the schema declares no 'username' property even though the path requires one; the description only partially compensates via the example '/v1/users/octocat', leaving the mapping from argument to path segment implicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource domain (Codeberg/Gitea API) and pins the exact endpoint via '[GET /v1/users/{username}]' plus a concrete example path, so the agent can infer it fetches a single user by username. It stops short of a plain-language statement of what the call returns (a user profile object), which keeps it from a 5.

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

Usage Guidelines2/5

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

No guidance on when to pick this over sibling endpoints such as x402_codeberg_get_v1_repos_owner_repo or the other user endpoints in the catalog. The only contextual hint is 'Free, no key for public data,' which speaks to auth cost, not selection between alternatives.

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

Deploy Server

Other Tools