Skip to main content
Glama

Agent Toolkit (all-in-one)

Full code safety report for a GitHub repo: risky code + poisoned MCP tools + known vulnerable dependencies, with one overall grade and a to-do list

code_safety_report

[Agent Shield] Runs the GitHub code scan (install scripts, secret stealing, env dumps, webhooks, hidden/encoded code, poisoned MCP tool descriptions) AND finds up to 3 lockfiles in the repo (npm, yarn, pnpm, pip, poetry, uv, Go, Cargo, Composer, Bundler) and checks every dependency version against OSV.dev for known CVEs and typosquats. Returns code grade, dependency grade, overall grade A-F, safe_to_install and an action list. Not charged if the repo is private or missing. Price 0.05 USDC per call; first 3 calls per day free.

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

Input Schema

NameRequiredDescriptionDefault
repoYesowner/name or https://github.com/owner/name
paymentNoOptional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 well: it names what gets inspected, what is returned (code grade, dependency grade, overall A-F, safe_to_install, action list), the price of 0.05 USDC per call, the 3-free-calls-per-day tier, and the no-charge condition for private/missing repos. Remaining gaps are the handling of private repos (does it need a token?) and any latency or size limits.

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 capabilities and return values are front-loaded, and the pricing/free-tier sentence trails logically. The parenthetical lockfile ecosystem list is long but each item earns its place by telling the agent what ecosystems are covered. Slightly dense as a single run-on sentence.

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?

There is no output schema, and the description compensates by enumerating return fields and the A-F grading. Cost and billing conditions are disclosed, which matters for an x402-charging tool. It falls just short of complete because private-repo access requirements and failure behavior are left ambiguous.

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% for both parameters, so the schema already documents the repo format and the optional x402 payment header. The description adds only the free-tier context for payment ('not needed while the free daily sample lasts'), which is useful but minimal. Baseline 3 is appropriate when the schema does the heavy lifting.

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 uses specific verbs and resources: it runs a GitHub code scan for install scripts, secret stealing, env dumps, webhooks, hidden/encoded code and poisoned MCP descriptions, plus a lockfile dependency check against OSV.dev for CVEs and typosquats. The 'Full code safety report ... one overall grade' framing in the title makes clear this is the combined scan rather than a narrow one. It stops short of explicitly naming the sibling scans (scan_github_repo, scan_dependencies, safety_pass) it composes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the 'Full' framing and by enumerating both sub-scans, so an agent can infer this is the comprehensive option, but there is no explicit 'use this instead of scan_dependencies when...' guidance. The only stated exclusion-like condition is that private or missing repos are not charged, which hints such repos may not be scannable but does not say so directly.

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.