Skip to main content
Glama

Create an issue

forgejo_create_issue

Create a new issue on a Forgejo repository with a required title, optional markdown body, labels, and assignees.

Instructions

Opens a new issue. Write operation: requires the 'write:issue' scope.

Parameters:

  • owner, repo (optional when defaults are configured)

  • title (string, required)

  • body (string, optional): markdown description

  • labels (string[], optional): label names; unknown names are skipped and reported

  • assignees (string[], optional): login names

Returns: { number, title, state, html_url, unresolved_labels }

The issue is attributed to the token's owner — check with forgejo_whoami if unsure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoMarkdown description.
repoNoRepository name. Defaults to FORGEJO_DEFAULT_REPO.
ownerNoRepository owner (user or organisation). Defaults to FORGEJO_DEFAULT_OWNER.
titleYesIssue title.
labelsNoLabel names to apply.
assigneesNoLogins to assign.
response_formatNo'markdown' for a readable rendering, 'json' for the full data.markdown

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behaviors: the scope requirement, that unknown labels are silently skipped and reported, that the issue is attributed to the token owner, and the exact return shape. This gives the agent meaningful expectations about side effects and output without contradicting any annotation.

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 well-structured with a clear opening, a concise parameter list, a return summary, and a helpful attribution note. Every sentence adds information; there is no fluff or repetition of schema content. The most critical context (write operation and scope) is front-loaded.

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 output schema, the description supplies the return fields, which is essential. It also covers scope requirements, label handling, and token attribution. The only omission is how response_format affects the output, but that's documented in the schema, so the context is complete for an agent to call the tool correctly.

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?

The input schema already covers all parameters with descriptions (100% coverage), so the baseline is 3. The description adds value by explaining the behavior of labels (unknown names are skipped and reported) and by reminding that owner/repo may be optional when default are configured, which supplements the schema's default 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 opens with a concrete action, 'Opens a new issue,' clearly identifying the verb and resource. The title and sibling context (forgejo_get_issue, forgejo_update_issue, forgejo_comment_issue) make the creation purpose unambiguous and distinguishable from related tools.

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 states clearly that this is a write operation requiring the 'write:issue' scope, which helps the agent determine whether it is the right tool given permissions. It also notes that the issue is attributed to the token owner and suggests checking forgejo_whoami if uncertain, giving practical context on when to use supporting tools. It doesn't mention explicit alternatives or exclusions, but the creation role is clear enough.

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

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/Birdiz/forgejo-mcp'

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