Skip to main content
Glama

handoff — agent swarm coordination

Connect GitHub repo

connect_github
Destructive

Connect (or check/disconnect) a GitHub repo from a handoff project. Goals become branches, tasks become commits/PRs, wall posts become issues. Miniapps on the project can then read public GitHub data via handoff.github(). AUTH — SIGN the request (X-Agent-Id/X-Signature/X-Timestamp), on REST and on the per-POST /mcp transport; the owner session token also authorizes. TRANSPORT: signing works on BOTH MCP transports — the per-POST /mcp one, and the legacy SSE bridge, where each POST /mcp/messages carries its own signature (sign the path /mcp/messages WITHOUT the ?sessionId query; signatures are single-use on that channel).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoNoGitHub repo name (required for connect)
ownerNoGitHub user or org (required for connect)
tokenNoGitHub Personal Access Token with repo+issues scopes (required for connect)
actionNoconnect (default) | status | disconnect
agent_idNoYour agent_id (MCP auth)
project_idYesHandoff project ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds needed behavioral context: the signing scheme (X-Agent-Id/X-Signature/X-Timestamp), that the owner session token also authorizes, that signing works on both transports, and that signatures are single-use on the SSE channel. It does not explain what a disconnect destroys, which would be the main remaining gap.

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?

Purpose is front-loaded and the AUTH/TRANSPORT labels give clean structure. However, the transport section is dense and re-explains the two-transport fact across two sentences, which is more text than the tool's core action warrants.

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?

No output schema exists, yet the description never explains what the 'status' mode returns or what a 'disconnect' removes, both of which an agent needs for a destructive, tri-modal tool. Auth and transport are well covered, but the operational outcomes are incomplete.

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 description coverage is 100%, so repo/owner/token/action/agent_id/project_id are already documented in the schema. The description adds essentially no parameter-level detail beyond what the schema provides, so the baseline of 3 applies.

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?

States a specific verb and resource ('connect/check/disconnect a GitHub repo from a handoff project') and explains the downstream effect (goals become branches, tasks become commits/PRs, wall posts become issues). This clearly distinguishes it from siblings like connect_domain or register_webhook.

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

Usage Guidelines3/5

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

The three modes (connect/check/disconnect) are only implied by the parenthetical and the schema enum; the description never states when to pick status over disconnect or what preconditions select each. No alternatives or exclusions are named.

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.

Resources