TrustModel MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TRUSTMODEL_API_KEY | No | Your TrustModel API key (format: tm-{env}-{keyid}_{secret}). Not needed for local tools; required for calibrated cloud tools. | |
| TRUSTMODEL_PROFILE | No | Tool profile. 'default' exposes daily-driver tools; 'security'/'advanced'/'all' expose every tool. | default |
| TRUSTMODEL_TRACE_DIR | No | Directory where streaming trace sessions are persisted as append-only JSONL. Default: ~/.trustmodel-mcp/traces/ | ~/.trustmodel-mcp/traces/ |
| TRUSTMODEL_ADVANCED_TOOLS | No | Set 'true' to expose all tools regardless of TRUSTMODEL_PROFILE. | false |
| TRUSTMODEL_AGT_DISCOVERY_ENABLED | No | Enables 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
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.
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.
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.
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.