spendshield
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SPENDGUARD_POLICY | No | Path to the SpendShield policy YAML file. | |
| SPENDGUARD_MASTER_KEY | No | Master key used by the key vault for encryption. Required if the policy uses a key vault. |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| spend_protectA | 保护一次花钱操作。走干跑/预算/黑名单/白名单/频率/单次上限闸门。通过返回 ok=true; 被拦返回 ok=false + reason |
| spend_statusA | 查询当前护栏状态: 预算/已花/剩余/拦截统计 |
| spend_auditB | 最近审计记录(最多 N 条) |
| spend_resetA | 重置本次会话已花金额(新会话/换预算时用) |
| secret_getA | 从密钥保险库取密钥(过身份+审批闸门, 留审计)。密钥名视为收款方, 可加白名单免问 |
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 5 tools
Each tool targets a clearly distinct operation: status is a live snapshot, audit is historical records, reset is session state management, protect gates a spend, and secret_get retrieves a credential. No two tools plausibly serve the same purpose, and the descriptions make the boundaries obvious.
The tools are all lowercase snake_case and mostly follow a domain-prefix pattern, with four sharing spend_ and one using secret_. The slight inconsistency is that the second segment mixes nouns and verbs, and secret_get breaks away from the spend_ namespace, so it is not as uniform as a strict verb_noun convention.
Five tools is well-scoped for a spending-defense utility: status, audit, reset, protect, and secret retrieval each cover a necessary function without redundancy. There are no filler tools or obvious bloat.
The set covers the core lifecycle well: protect a spend, inspect status, review audit trails, reset session amounts, and safely retrieve secrets. The main gap is configuration management such as setting budgets, whitelists, or blacklists, but agents can still work within the existing guardrails.