Skip to main content
Glama

provision

Set up a shared GitHub repository for agent collaboration, creating it if needed, wiring the remote, and inviting partners to start using the claim protocol.

Instructions

Create the shared GitHub repository if it doesn't exist yet, then leave both collaborators ready to use the claim protocol. Run this ONCE, by one person, before anyone calls survey()/claim(). It is idempotent — safe to re-run; each step is skipped if already done.

What it does, in order:

  1. Ensure AGENTSYNC_REPO is a local git repo with at least one commit (creates the directory + a starter README if empty).

  2. Create the repo on GitHub via gh (private unless private=False) and wire up the 'origin' remote, or reuse an existing remote/repo.

  3. Push the default branch.

  4. Seed the coordination branch (agentsync) with an empty claims.json.

  5. Invite the partner(s) as push collaborators, if any usernames are given here or via AGENTSYNC_PARTNER_GITHUB.

repo : 'owner/name', bare 'name' (owner = you), or '' to use the AGENTSYNC_REPO folder name. partner_github : one or more GitHub usernames to invite, comma- or space-separated (overrides env). Supports a whole team. private : create the repo private (default) or public. description : optional GitHub repo description.

Requires the gh CLI, authenticated (gh auth login) with 'repo' scope. Returns a summary of what was created plus the clone URL to send your partners.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoNo
privateNo
descriptionNo
partner_githubNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully carries the transparency burden. It discloses the exact order of operations, that steps are skipped if already done, that it creates local files and a remote repo, pushes, seeds, and invites partners. It also notes the auth requirement, providing a comprehensive behavioral picture.

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, starting with the core purpose, then a numbered step list, then parameter notes. It is long but each sentence provides value—no fluff, clear headings, and appropriate front-loading.

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?

Given the tool's complexity, the description fully covers prerequisites, actions, idempotency, and return value ('Returns a summary... plus the clone URL'). The presence of an output schema means return format details need not be repeated, and the description still mentions the key output.

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

Parameters5/5

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

Schema description coverage is 0%, so the description compensates thoroughly. It explains each parameter: repo (owner/name, bare name, or empty), partner_github (usernames, separators, override), private (default private), and description (optional). This adds critical meaning beyond the schema's type/default fields.

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 the tool's function: 'Create the shared GitHub repository if it doesn't exist yet, then leave both collaborators ready to use the claim protocol.' It uses a specific verb (create) and resource (GitHub repository), and the detailed numbered steps distinguish it from sibling tools like survey/claim.

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?

Explicit guidance is given: 'Run this ONCE, by one person, before anyone calls survey()/claim().' It also mentions idempotency and prerequisites (gh CLI, auth), making it clear when to use versus relying on sibling tools.

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/jarmstrong158/agentsync'

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