Skip to main content
Glama

Kendor

Check a repository

preview_repo
Read-only

Dry run of importing a GitHub, GitLab or Bitbucket repository: language detected, file count, whether it has a kendor.yaml, and anything Kendor can’t run. Creates nothing. Private repos work when the organization connected its git host. Uses Kendor’s repository import (https://kendor.io/docs/repo-import/import-from-any-git-host).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "preview_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoBranch, tag or commit; default branch if left out
urlYesRepository URL, or owner/repo for GitHub
subdirNoFolder inside the repo to use as the root

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is given for free. The description adds real value beyond that: the private-repo authorization condition and the exact items the preview reports (useful since there is no output schema). It says nothing about latency, rate limits, or what happens with an unreachable or oversized repo.

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?

Front-loaded with the core action and the key reassurance ('Creates nothing') early, then supporting detail. The trailing documentation URL is a minor appendage but not noise; the sentences generally earn their place.

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?

With no output schema, the description carries the burden of describing results and it does so explicitly (language, file count, kendor.yaml, unsupported items). Combined with the private-repo permission note, an agent has everything needed to call it correctly and interpret the response.

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 url, ref and subdir are already documented with formats and defaults, which sets the baseline at 3. The description only mentions that multiple Git hosts are supported; it does not explain ref resolution behavior or how subdir affects the reported file count, so it adds no meaning beyond the schema.

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 action (a dry-run import) on a specific resource (a Git-hosted repository) and enumerates what the dry run reports: detected language, file count, kendor.yaml presence, and unsupported constructs. The phrase 'Creates nothing' separates it from the create/screen-creation siblings without needing to name them.

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?

'Dry run' plus 'Creates nothing' clearly frames this as the pre-flight check before an actual import or screen creation. It also gives a concrete prerequisite for private repositories (the org must have connected its git host). It stops short of explicitly naming the follow-up tool or stating when to skip this check.

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