Skip to main content
Glama
Shatale MCP Server

Shatale MCP Server

Official
by Shatale-SASU

Creates and validates a spending-policy template.

generate_policy_template
Read-only

Generate a spending policy template from a use case, then validate its risk level, warnings, and recommended controls to avoid silently unsafe policies.

Instructions

Generates a spending policy template for a use case AND validates it: risk level, warnings, and recommended controls (approval threshold, max transaction, blocked categories). Never returns a silently unsafe policy. No API key required.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "use_case": "<use_case>"
    },
    "name": "generate_policy_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
use_caseYesThe use case for the policy (e.g. "SaaS subscriptions", "cloud infrastructure", "office supplies")
monthly_budgetNoMonthly budget limit in USD
allowed_categoriesNoList of allowed spending categories

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnlyHint=true; the description adds that the tool performs validation, that it 'never returns a silently unsafe policy,' and that no API key is required — all behavioral facts not in the structured fields. It doesn't say whether the template is persisted or returned only, but readOnlyHint covers that.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded verb and resource, then the validation guarantee, then the operational note about API keys. The parenthetical list of recommended controls is dense but informative. Minor redundancy between the title and the opening verb, but no wasted sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly compensates by naming the return contents (risk level, warnings, recommended controls). For a three-parameter, read-only generation tool this is nearly complete; only persistence and output shape details are left implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all three parameters are already documented with examples and constraints (exclusiveMinimum on budget). The description adds no meaning beyond the schema, which is the expected baseline here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('generates a spending policy template') plus a second action ('validates it') and enumerates the validation outputs: risk level, warnings, recommended controls. An agent knows exactly what it gets back. No sibling covers policy generation, so the distinction is inherent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The use case is implied by the required use_case parameter and the SaaS/cloud/office-supplies examples, but the description never says when to call this versus something else, nor any prerequisites or exclusions. Usage is inferable rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.