Skip to main content
Glama
counterlure-mcp

counterlure-mcp

Official

inspect_interview_repo

Read-only

Inspect a public GitHub take-home repository before cloning to detect auto-run tasks, install hooks, script execution, custom registries, binaries, and low-history accounts via read-only API calls.

Instructions

Passively inspects a public GitHub coding-test or take-home interview repository BEFORE cloning or opening it. Uses read-only GitHub API calls (zero cloning, zero execution) to detect .vscode/tasks.json folderOpen auto-runs, npm preinstall/postinstall hooks, setup.py exec primitives, custom .npmrc registries, binaries, and young/low-history accounts.

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": {
      "repo": "<repo>"
    },
    "name": "inspect_interview_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesPublic GitHub repository in "owner/repo" form or full "https://github.com/owner/repo" URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint, but the description meaningfully adds that inspection uses read-only GitHub API calls with zero cloning and zero execution, plus what classes of risk it looks for. It does not cover unauthenticated rate limits or failure modes on private/renamed repos, so it adds real but partial behavioral context on top of the annotations.

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?

Two sentences, front-loaded with the action and its pre-clone timing, with the detection list compressed into one clause. The enumeration is long but each item conveys a concrete signal the agent would otherwise have to guess at.

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?

With no output schema, the description should convey what comes back; it names the indicators it detects, which implies the result content but says nothing about result shape, severity, or verdicts. It is adequate for a single-parameter read tool but leaves the return contract partly implicit.

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?

Only one parameter exists and the schema documents it at 100% coverage, including both accepted forms (owner/repo and full URL). The description adds only the word "public" and no format detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a specific verb ("passively inspects") with a scoped resource ("public GitHub coding-test or take-home interview repository") and signals its niche versus a general repo check through the interview-repo scope. It stops short of naming a sibling such as check_repo, so the differentiation is by domain rather than explicit routing.

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 states the operative context clearly: run this BEFORE cloning or opening the repository, which tells the agent the sequencing relative to other actions. It gives no explicit when-not conditions or named alternatives, which keeps it below a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.