Skip to main content
Glama

tenki_git

Execute supported git operations (clone, checkout, diff, log) inside a disposable Tenki sandbox. For other git commands, use tenki_exec with git -C to specify the working directory.

Instructions

Run a git operation in a sandbox. Only clone, checkout, diff, and log are supported by the API — for any other git command (status, add, commit, push, ...) use tenki_exec with git .... clone arg keys: repo (required, the URL), branch?, depth?, directory?. CAVEAT (live-verified): checkout/diff/log run in the session's working directory (/home/tenki), which is not a repository and has no directory arg — so on a repo cloned into a subdirectory they fail with 'not a git repository'. Use tenki_exec with git -C <directory> ... instead (e.g. git -C /home/tenki/hw log -n 2). For reference, their arg keys are — checkout: ref (required), create? ('true' = -b); diff: range? or base?+head?, path?; log: max_count?, range?, path?.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNoOperation args as a key→value object (values are sent as strings; numbers/booleans are coerced). clone: {repo, branch?, depth?, directory?}; checkout: {ref, create?: 'true'}; diff: {range?} or {base?, head?}, {path?}; log: {max_count?, range?, path?}.
operationYesOne of: clone, checkout, diff, log (the API rejects anything else).
session_idYesSandbox session id (UUID), from tenki_create_sandbox or tenki_list_sandboxes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description reveals important runtime behavior: checkout/diff/log execute in /home/tenki, which is not a git repository, so they fail on repos in subdirectories. It also states the API rejects unsupported operations and notes that only certain operations are supported. This is substantial, operationally relevant context that the annotations alone do not provide.

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 description is long but information-dense, with the core purpose and supported operations front-loaded. The caveat, workaround, and per-operation argument summaries all earn their place. It loses a point because the 'For reference' section substantially repeats the args description already present in the input schema, making the text slightly more verbose than necessary.

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?

Given the tool's complexity, the description is highly complete: it covers supported operations, required and optional arguments, a proven failure mode, and a recommended fallback. It does not describe the return value shape (e.g., what stdout/stderr or exit codes look like), and there is no output schema to fill that gap, but the essential calling information is present.

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?

The schema already documents the operation enum and a brief args shape, so the baseline is 3. The description adds meaning by marking `repo` and `ref` as required, clarifying value coercion, explaining `create: 'true'` as `-b`, and describing alternative diff argument forms (`base?+head?`). This is a clear improvement over the schema, though it partially repeats the schema's args description.

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 starts with a specific verb and resource: 'Run a git operation in a sandbox.' It then clearly enumerates the supported operations (clone, checkout, diff, log) and explicitly distinguishes this tool from tenki_exec, which is the named fallback for other git commands. This makes it easy for an agent to know exactly when this tool is the right one.

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?

Usage guidance is explicit and actionable. It names the sibling tenki_exec as the alternative for unsupported git commands, and it even provides a live-verified caveat with a concrete workaround (`git -C <directory> ...`). This goes well beyond implied usage and leaves little to inference.

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