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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/karlmehta/trustmodel-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server