Skip to main content
Glama

Start VibeRaven sign-in for a private repo

connect_repo

connect_repo({"visibility":"private"}) Call only for a known private repo when the user needs to sign in before continuing with a local checkout or Studio. Show your user the returned sentence as your reply and wait for their confirmation. Then pass poll_id to connect_status. Limits: sign-in only. Private files stay in the authorized checkout.

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": "connect_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
visibilityNo

Output Schema

NameRequiredDescriptionDefault
poll_idNoThe status ID returned by connect_repo.
user_codeNo
expires_atNo
input_requiredNo
verification_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / required
      Removed value: -[
      -  "visibility"
      -]
    • addedOutput schema / oneOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "input_required"
      +      ]
      +    },
      +    "required": [
      +      "verification_url",
      +      "user_code",
      +      "expires_at",
      +      "poll_id"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "input_required"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / input_required
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "example": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "arguments": {
      +          "type": "object"
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "arguments"
      +      ],
      +      "type": "object"
      +    },
      +    "field": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "next_step": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "field",
      +    "message",
      +    "example",
      +    "next_step"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "verification_url",
      -  "user_code",
      -  "expires_at",
      -  "poll_id"
      -]
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false), the description discloses a real interaction protocol: the tool returns a sentence the agent must show the user, the agent must wait for confirmation, and the session is then polled via connect_status. It also reassures that private files stay in the authorized checkout. It does not cover what happens if the user declines or if the sign-in expires, which keeps it below a 5.

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?

Three short sentences, each carrying a distinct load (invocation form, conditions, protocol, limits), with the gating condition front-loaded. The opening JSON snippet is somewhat redundant given a one-value enum and slightly delays the purpose statement, costing some crispness.

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?

The tool is a multi-step, human-in-the-loop auth flow, and the description covers the essential protocol an agent needs (show the returned sentence, wait, then poll with poll_id). With an output schema available and annotations signalling an open-world, non-read-only operation, remaining gaps are limited to decline/expiry handling rather than core call correctness.

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?

Schema coverage is 0%, but the sole parameter is an enum with a single legal value ('private'), and the description's example invocation shows exactly how it is supplied. The 'call only for a known private repo' constraint reinforces that the value is fixed rather than discretionary, so little explanatory burden remains.

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 identifies the action as a VibeRaven sign-in flow scoped to a known private repo and clarifies it is a prerequisite for a local checkout or Studio, which separates it from connect_status (the follow-up poll). It never states the purpose in a plain prose sentence, leaning on the leading example call and the title to convey 'starts an auth session', so it is clear but slightly indirect.

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

Usage Guidelines5/5

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

It gives an explicit trigger ('only for a known private repo when the user needs to sign in before continuing with a local checkout or Studio') and an explicit exclusion via 'Limits: sign-in only'. It also names the correct sibling to call next ('pass poll_id to connect_status'), so the agent knows both when to use this tool and what to do afterwards.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.