Skip to main content
Glama

host

Sets up a shared repository hub, exposes it through an ngrok tunnel, and returns a join link for collaborators.

Instructions

Host a hub for this repo on this computer, reachable from anywhere through an ngrok tunnel, and join it. Returns the join link to give to the others. name: how you appear (default: your git user name). authtoken: your ngrok authtoken, needed once (it's saved). new_link: make a new secret key, so old links stop working. The hub runs as long as this session does, or until stop; hosting the same repo again gives the same link.

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

Input Schema

NameRequiredDescriptionDefault
nameNo
new_linkNo
authtokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the lifecycle (tied to the session, ended by `stop`), credential persistence (authtoken saved), the destructive side effect of `new_link` (old links stop working), and link stability across re-hosting. It omits operational failure modes (missing/invalid authtoken, port conflicts) and any note that the ngrok tunnel exposes the hub publicly, which is a meaningful security consideration.

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?

The core action and return value are front-loaded, and the parameter notes are compactly appended. The inline backtick parameter explanations make it slightly dense and run-on, but no sentence is redundant given the zero annotation and zero schema coverage.

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?

For a three-parameter tool with no annotations and no output schema, the description covers the return value (the join link), parameter meanings, lifecycle, and idempotency. Remaining gaps are environmental preconditions (ngrok availability, exposure implications) rather than anything blocking correct invocation.

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 coverage is 0%, so the description must compensate, and it does for all three parameters: `name` (display identity, defaulting to the git user name), `authtoken` (purpose plus the fact it is persisted after first use), and `new_link` (rotates the secret key and invalidates existing links). This conveys effect and defaults well beyond the bare schema titles.

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 states a specific verb and resource ('Host a hub for this repo on this computer') and adds the crucial scope detail that it also joins you to the hub and returns a shareable link. Naming 'stop' as the terminator and noting that re-hosting is idempotent implicitly separates it from the sibling tools that manage an existing hub.

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 gives clear conditions: authtoken is 'needed once (it's saved)', the hub lives as long as the session or until `stop`, and 'hosting the same repo again gives the same link' tells the agent re-invocation is safe. It stops short of explicitly saying 'use join instead when a hub already exists', leaving that inference to the reader.

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