Skip to main content
Glama

SHPBL: Repository Audit & Repair

Compose a new capability into a repository

compose_capability
Read-onlyIdempotent

The harvest lane: read what a repository can already do, then offer codeless capability nominations that fuse those affordances with owned SHPBL primitive capabilities — DREAM, EVOLUTION, MEMORY, DEFENSE, BRAIN and the rest of the canonical forty, plus the S-Tier artifacts. Each nomination names host evidence, proposed capability bodies, Capability Contract slots, a test plan, and honest limits. It contains no implementation; approved materialization belongs to harvest_repo. Free calls return host affordances, then stop before library correlation; nominations require a Practitioner key (7-day free trial).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoYour SHPBL Practitioner subscription key (shpbl_mcp_…). Optional if your client sends it as the `Authorization: Bearer …` request header.
repoYesA GitHub repository: `owner/repo` or a URL.
pagesNoHow many source pages to read for affordance evidence, 1 to 12 (about 90,000 characters each). More pages means more of the tree is read; the grants are cut from whatever was read.
grantsNoHow many codeless capability nominations to return, 1 to 200. Ranked by measured fit and capability standing.
includeNoOptional path filter — only paths containing this text are read for affordances.
github_tokenNoOptional GitHub token (Contents: read) for a private repository.
per_affordanceNoHow many nominations one affordance may produce, 1 to 200. Raise it to see alternative leads for the same host capability.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / grants / description
      Previous value: -"How many Capability Grants to return, 1 to 24. Ranked by measured fit and capability standing."New value: +"How many codeless capability nominations to return, 1 to 200. Ranked by measured fit and capability standing."
    • changedInput schema / properties / per_affordance / description
      Previous value: -"How many grants one affordance may produce, 1 to 4. Raise it to see alternative leads for the same host capability."New value: +"How many nominations one affordance may produce, 1 to 200. Raise it to see alternative leads for the same host capability."
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld), so the bar is lower. The description adds genuine behavioral context the annotations don't: the free-tier truncation point, the requirement of a key for full output, and that no implementation is produced. These are real additions an agent needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with a clear lane label, but it is dense with branded jargon ('SHPBL', 'DREAM, EVOLUTION, MEMORY, DEFENSE, BRAIN and the rest of the canonical forty', 'S-Tier artifacts') that consumes space without helping the agent decide or call. The routing and gating sentences do earn their place.

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 must convey return shape, and it does: each nomination names host evidence, capability bodies, contract slots, a test plan, and honest limits, plus the distinction between free affordance output and paid nominations. Fairly complete, though the free-tier return shape could be described more concretely.

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 the schema already documents all seven parameters including defaults and ranges. The description adds no per-parameter meaning (e.g., how pages interacts with grants), so baseline 3 is correct.

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?

States a specific verb (compose/offer nominations) and resource (repository capabilities), and explicitly distinguishes itself from harvest_repo: 'It contains no implementation; approved materialization belongs to `harvest_repo`.' The jargon ('harvest lane', 'canonical forty') adds opacity, but the core action and its boundary are unambiguous.

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?

Names the alternative (harvest_repo) and states the gating condition: free calls return affordances and stop before library correlation, while nominations require a Practitioner key. It clearly sets a context for use. It doesn't compare against other plausible siblings like evaluate_repo or build_intent, so it falls short of full when/when-not coverage.

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