Skip to main content
Glama
karlmehta
by karlmehta

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TRUSTMODEL_API_KEYNoYour TrustModel API key (format: tm-{env}-{keyid}_{secret}). Not needed for local tools; required for calibrated cloud tools.
TRUSTMODEL_PROFILENoTool profile. 'default' exposes daily-driver tools; 'security'/'advanced'/'all' expose every tool.default
TRUSTMODEL_TRACE_DIRNoDirectory where streaming trace sessions are persisted as append-only JSONL. Default: ~/.trustmodel-mcp/traces/~/.trustmodel-mcp/traces/
TRUSTMODEL_ADVANCED_TOOLSNoSet 'true' to expose all tools regardless of TRUSTMODEL_PROFILE.false
TRUSTMODEL_AGT_DISCOVERY_ENABLEDNoEnables the filesystem-touching Shadow Discovery tools. When unset, those tools return a skip report.false

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

Tools

Functions exposed to the LLM to take actions

NameDescription
trustmodel_scoreA

Get the current trust score / detail for a previous LLM evaluation created via trustmodel_evaluate. Takes an integer evaluation_id and returns the evaluation detail including scores.

trustmodel_trace_startA

Open a new agent-trace capture session. Returns a trace_id that must be passed to every trustmodel_trace_step and the final trustmodel_trace_finalize. Capture steps (thoughts, tool calls, tool results, responses) as your agent executes; finalize when done to upload + auto-create an evaluation run.

trustmodel_trace_stepA

Record a single step in an active trace session. Call once per reasoning step, tool call, tool result, or user-facing response. Step numbers are auto-assigned (1-based). Requires a trace_id from trustmodel_trace_start.

trustmodel_trace_finalizeA

Close an active trace session, serialize the captured steps, upload to TrustModel cloud storage, and auto-create an agentic evaluation run. Returns both a file_path (for record-keeping / retry) and an evaluation_run_id that can be polled with trustmodel_score_agent.

trustmodel_evaluate_localA

Score AI output locally across the 10 TrustModel dimensions (safety, fairness, accuracy, privacy, transparency, robustness, accountability, explainability, compliance, reliability) and roll it into a 0-100 TrustScore. NO API key required — runs on this machine with a transparent heuristic judge. Returns trust_score, grade, per-dimension scores, and violations. Local scores are uncalibrated; use trustmodel_evaluate (cloud, needs a free TRUSTMODEL_API_KEY) for a calibrated, audit-ready score.

trustmodel_governA

Check text against a governance policy pack and decide allow/block, locally. NO API key required. policy is a built-in pack id — eu-ai-act (default), nist-ai-rmf, nyc-ll144, or owasp-llm. Returns allowed/blocked, the policy id, and the list of rule violations (pattern and dimension rules). Use before letting AI output reach a user or another tool.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 6 tools

Disambiguation5/5

Each tool serves a clear, distinct purpose: trace capture (start/step/finalize), local evaluation, governance check, and retrieval of cloud evaluation results. There is no overlapping functionality; a tool for one task cannot be easily confused with another.

Naming Consistency5/5

All tools follow a consistent 'trustmodel_verb[_modifier]' pattern using snake_case. Verbs like score, trace_start, trace_step, trace_finalize, evaluate_local, and govern are descriptive and follow a predictable convention.

Tool Count5/5

With 6 tools covering trace capture (3), evaluation (2 including retrieval), and governance (1), the count is well-scoped for an agentic evaluation and governance server. No tool is extraneous, and the set is not too sparse or bloated.

Completeness2/5

The set has notable gaps: trustmodel_trace_finalize references trustmodel_score_agent which does not exist, and trustmodel_score expects an evaluation_id from a missing trustmodel_evaluate tool. The cloud evaluation path is incomplete, leaving agents unable to retrieve scores from trace evaluations or perform cloud evaluations.

Maintenance

ActivityMaintained
ResponsivenessNo issues