Skip to main content
Glama
io.github.justrunme/agent-security-contract

io.github.justrunme/agent-security-contract

by justrunme

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_tool_callA

Check a proposed tool call against an ASC policy contract.

Returns PASS/BLOCK/REQUIRE_APPROVAL verdict with reasons. Fail-closed: any error, missing policy, or unknown input yields BLOCK. Use this tool before executing any tool call to enforce a security contract.

Args: policy_path: Path to the ASC policy YAML file trace_data: Tool call trace mapping with agent_id, trace_id, calls, optional tool_catalog scenario_id: Identifier for this check (for reporting)

Returns: Mapping with verdict, reason, scenario_id, blocked_call_id, and details

verify_corpusA

Verify/run the abuse-case corpus against an ASC policy.

Runs all scenario JSON files in the corpus directory and returns metrics including critical false-ALLOW count, benign false-BLOCK rate, and per-scenario results.

Args: policy_path: Path to the ASC policy YAML file corpus_dir: Directory containing scenario JSON files output_results: If True, return full per-scenario results (may be large)

Returns: Mapping with passed (bool), metrics, and optionally scenarios list

verify_scenarioA

Verify a single corpus scenario file against an ASC policy.

Loads the scenario JSON, runs the trace through the policy evaluator, and returns whether the actual verdict matches the expected verdict.

Args: policy_path: Path to the ASC policy YAML file scenario_path: Path to a single scenario JSON file

Returns: Mapping with match (bool), expected, actual, reason, and scenario metadata

list_policy_toolsB

List loaded policies and their configured tools/rules.

Returns the capability catalog, capability digest, and per-agent tool allowlists from an ASC policy file.

Args: policy_path: Path to the ASC policy YAML file

Returns: Mapping with version, capability_digest, capabilities, and agents configuration

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 4 tools

Disambiguation4/5

The tools have largely distinct purposes: runtime enforcement (check_tool_call), corpus-level verification (verify_corpus), single-scenario verification (verify_scenario), and policy inspection (list_policy_tools). The boundary between check_tool_call and verify_scenario is slightly blurry because both evaluate traces against a policy, but the descriptions make the intended contexts clear.

Naming Consistency5/5

All tool names use a consistent snake_case verb_noun pattern: check_tool_call, verify_corpus, verify_scenario, list_policy_tools. The conventions are predictable and readable throughout.

Tool Count5/5

Four tools is well-scoped for a security-contract enforcement server. Each tool covers a distinct workflow: runtime checking, whole-corpus verification, single-scenario verification, and policy inspection.

Completeness4/5

The surface covers the core lifecycle: enforce a policy on a proposed tool call, test one scenario, test the whole corpus, and inspect configured policies/tools. A minor gap is the absence of a standalone policy-validation or policy-diff operation, but agents can work around this through the existing check and list tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues