Skip to main content
Glama

attach_repo

Assign an existing repository to a specified project, optionally resolving its kind from the project marker when kind is left empty.

Instructions

Bestehendes Repo einem Projekt zuordnen (kind leer = aus Marker).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>",
      "org": "<org>",
      "repo": "<repo>"
    },
    "name": "attach_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYes
kindNo
repoYes
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, and it does little: 'zuordnen' implies a mutation/association, but there is no mention of required permissions, idempotency, what happens if the repo is already attached to a project, or what errors may occur. The one genuinely useful disclosure is that 'kind' can be empty and is then derived from a marker, which is why this is not a 1.

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?

One short, front-loaded sentence with no filler; the scope of the operation comes first and the parameter caveat is parenthesized. It is arguably too terse rather than too verbose, but nothing is wasted.

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

Completeness2/5

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

This is a mutating, multi-parameter tool with no annotations, no output schema, and 0% schema coverage, so the description needs to do substantial work. It does not: it omits permission requirements, side effects, error conditions, and the meaning of three of four parameters, leaving an agent under-equipped to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for four parameters, so the description must compensate, and it only partially explains one of them ('kind leer = aus Marker'). The roles of project_id, org, and repo, and crucially the relationship between org and the project's organization, are left entirely unexplained.

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 a concrete verb and resource: 'Bestehendes Repo einem Projekt zuordnen' (assign an existing repo to a project), which tells the agent exactly what operation happens. It does not, however, differentiate from very close siblings such as assign_repo_project or add_repo, so an agent cannot resolve the ambiguity from the text alone.

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?

There is no statement of when to use this tool versus the near-identical siblings (add_repo, assign_repo_project, unassign_repo), no prerequisites, and no exclusions. The only contextual hint is the parenthetical about an empty 'kind', which describes a parameter rather than a usage condition.

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