Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KEY_TERMS_DENY_DIRSNoFolders to keep out even when they sit inside the allowed folder. Separate entries with ':' on Linux and macOS, or ';' on Windows. Common key and credential folders (~/.ssh, ~/.aws and similar) are always refused.
KEY_TERMS_DENY_NAMESNoFolder names to skip wherever they appear. Separate entries with ':' on Linux and macOS, or ';' on Windows.
KEY_TERMS_ALLOWED_DIRNoThe single folder the server reads files from. By default this is the three bundled sample contracts. Can also be set with the --allow /path/to/folder option.

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
list_clause_typesA

The 36 CUAD clause types: key, plain label, CUAD category name, the model's threshold, and whether the model is used for that type (for 3 types it is not, and extract_key_terms does not report them).

extract_key_termsA

Key terms of one agreement (.txt or .md inside the allowed folder; a relative path is read from it): for each clause type, whether the model found it and up to two sentences quoted as written, best first.

explain_predictionB

Why the model scored one clause type as it did in one agreement: its best sentences with the words and word pairs that pushed the score up (and down) the most, and the clause type's top-weighted terms overall.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct role: list_clause_types is metadata lookup, extract_key_terms runs the model across all clause types for one agreement, and explain_prediction drills into a single clause type with word-level attributions. Descriptions make the boundary between extraction and explanation explicit (quotes vs. score-driving terms).

Naming Consistency5/5

All three tools follow the same verb_noun snake_case pattern (list_clause_types, extract_key_terms, explain_prediction). The verbs are distinct and accurately signal the operation.

Tool Count4/5

Three tools form a tight, coherent pipeline for a narrow purpose (enumerate types, extract, explain), with no redundant tools. It is slightly lean — a discovery/validation helper would round it out — but nothing feels over- or under-built.

Completeness3/5

The list/extract/explain triad covers the core workflow, but there is no tool to enumerate which agreements exist in the allowed folder, so an agent must already know a valid path. There is also no bulk or multi-agreement extraction, leaving a notable discovery gap.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues