Skip to main content
Glama

ScorpTech x402 Tools

Repo Posture

repo_posture
Read-onlyIdempotent

Security posture of a public GitHub repository from the OpenSSF Scorecard API: aggregate 0-10 score and rating, every check (Code-Review, Branch-Protection, Dangerous-Workflow, Token-Permissions, Pinned-Dependencies, Signed-Releases, Vulnerabilities, SAST, Fuzzing, Security-Policy, ...) with score, risk level, status and reason, a list of failing important checks, plus GitHub signals: SECURITY.md location, license, archived, stars, last push. Returns JSON with: repo, scorecard, summary, github. Price: $0.02 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/repo-posture

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

Input Schema

NameRequiredDescriptionDefault
repoYesowner/name or https://github.com/owner/name
detailsNoInclude up to 10 raw Scorecard detail lines per check (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/destructive=false/openWorld, and the description adds substantial context beyond them: per-call cost, the payment rail (x402 on Base or Solana), that billing only occurs on success, the mirrored HTTPS endpoint, and the explicit top-level JSON keys returned. Cost and payment mechanics are decision-critical facts an agent cannot get from annotations or schema.

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?

Purpose and data source are front-loaded in the first clause, and the long check-name enumeration earns its space by showing the coverage breadth rather than hiding it. The second sentence packs return keys, price, and the alternate endpoint efficiently, though the check list is denser than strictly 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?

With no output schema, the description correctly shouldered the burden of describing the return shape via its four top-level keys, and it adds cost/transport details. What it lacks is failure-mode context — what happens on an unpaid or failed call, or whether unknown repos error versus return partial data — which matters for a paid, network-dependent tool.

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 both `repo` (owner/name or full URL) and `details` (up to 10 raw detail lines per check, default false) are already documented in the schema. The description mentions checks 'with score, risk level, status and reason' but does not tie this to the `details` toggle or add formatting nuance, so it adds little parameter meaning beyond structured fields.

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 names a specific verb and resource — 'Security posture of a public GitHub repository' — and immediately identifies the data source (OpenSSF Scorecard API), then enumerates the exact contents (aggregate 0-10 score, per-check scores/risk/status/reason, failing important checks, SECURITY.md, license, archived, stars, last push). An agent knows precisely what comes back without opening anything else.

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?

Usage context is clear: it applies to public GitHub repositories, is billed at $0.02 USDC per successful call via x402 on Base or Solana, and is also reachable over plain HTTPS. The 'public' qualifier implicitly excludes private repos and the pricing note sets expectations before invocation, but there is no explicit when-not guidance or comparison to an alternative lookup route.

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