Skip to main content
Glama

get_server_info

Read-only

Returns details about the gitea-mcp server and its Gitea connection, including server version, Gitea URL, authenticated user, and Gitea instance version.

Instructions

Return information about the running gitea-mcp server and its Gitea connection.

Performs two Gitea API calls — GET /user (to identify the authenticated user the PAT belongs to) and GET /version (to report the Gitea instance version). If /version is unavailable (older Gitea, or the PAT lacks the scope), gitea_version falls back to None rather than raising.

Returns a dict with:

  • gitea_mcp_version — the gitea-mcp package version (e.g. "0.4.1").

  • gitea_url — the Gitea base URL this server is configured against.

  • gitea_user — the login of the authenticated Gitea user.

  • gitea_version — the Gitea instance version string, or None if unavailable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Discloses two Gitea API calls made, fallback behavior for version unavailability, and return structure. Adds value beyond readOnlyHint and openWorldHint annotations.

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?

Well-structured with bullet points for return fields. Front-loaded main purpose. Could be slightly more concise but very clear.

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?

With no input schema and annotations, description fully explains behavior and output. Covers fallback, return fields, and purpose comprehensively.

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?

No parameters exist; baseline 4 per guidelines. Description does not need to add param info.

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 it returns server and connection info, lists API calls and return fields, and distinguishes from siblings like get_server_version by being more comprehensive.

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?

While not explicitly stating when to use vs alternatives, the description implies it's for diagnostics. The unique scope among siblings is clear, but no when-not guidance is given.

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/werebear73/gitea-mcp'

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