Skip to main content
Glama

harden

Run hardening on a build (scan, plan, apply, verify) and return a run id and state. Requires a bearer license token and an authorization record. If the build's license trust lives in editable local state, or it has multiple critical findings, returns state 'needs_human_review' and produces no hardened build. A harden call is a metered event. Optional online_binding (default false): when true, the licence's high-value unlock additionally requires a fresh one-time server check at launch; offline-first apps leave it off. Default off is unchanged behaviour.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "harden"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNostandard
use_llmNo
repo_refNo
authorizedNo
artifact_refNo
license_tokenNo
online_bindingNo
target_runtimeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description shoulders the full burden and does well: it discloses the metering cost, the auth requirements, the exact guard condition that yields 'needs_human_review', and that no hardened build is produced in that case. It stops short of idempotency, side effects on the repo, or what a 'state' value can be beyond the abstain case.

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 critical information — action, auth, failure mode, cost — is front-loaded in the first three sentences, and the online_binding note is properly deferred to the end. The closing 'Default off is unchanged behaviour' restates the preceding default and could be cut; there are also spelling inconsistencies ('licence', 'behaviour').

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?

For a metered, multi-phase mutation tool with no annotations and no output schema, the description does cover return values (run id and state) and failure semantics. However, five of eight parameters remain opaque, which leaves an agent guessing at what profile, repo_ref, artifact_ref, and target_runtime should contain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 8 parameters, so the description must compensate and largely does not. Only online_binding is explained (default, effect, when to leave it off); license_token and authorized are merely alluded to, and profile, use_llm, repo_ref, artifact_ref, and target_runtime get no meaning whatsoever.

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 a specific verb-plus-resource ('Run hardening on a build') and enumerates the phases (scan, plan, apply, verify), so the agent knows exactly what operation is performed. It never names a sibling tool or contrasts itself with assess/draft_assessment, so the differentiation is left implicit.

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?

Prerequisites are stated clearly (bearer license token, authorization record) and there is conditional guidance for offline-first apps. There is no explicit when-to-use-this-vs-alternatives routing, so the agent must infer that this is the execution step that follows assessment.

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