Skip to main content
Glama

Spendplane — AI Privacy, Redaction & Cost Routing

Draft Code or Config with Free Model Pool

draft_code_with_free_model
Read-only

Delegate code, configuration, or boilerplate drafting to Spendplane's zero-cost free-model pool with pre-egress PII/secret redaction so premium agent tokens are only spent on review and verification.

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": {
      "task": "<task>"
    },
    "name": "draft_code_with_free_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesClear coding or configuration task to draft.
languageNoTarget language or format (e.g. typescript, python, json, yaml).
file_pathNoOptional target file path for context.
constraintsNoOptional style, API, or architectural constraints.
current_codeNoOptional existing file content or snippet to modify.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, non-destructive, open-world and non-idempotent behavior, so the bar is lower. The description adds genuinely useful context beyond them — zero-cost routing and pre-egress PII/secret redaction — but says nothing about output format, latency, or what happens on model-pool failure.

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?

A single front-loaded sentence that leads with the action and keeps the cost rationale compact. It is dense but nothing is truly redundant; the closing rationale clause arguably duplicates the 'zero-cost' wording already stated.

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

Completeness3/5

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

For a five-parameter generative tool with no output schema, the description covers mechanism and redaction but not what comes back (raw draft text? diff? metadata) or how much verification the caller must do. Adequate to select the tool, thin for invoking it correctly with current_code.

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 five parameters including the optional current_code and constraints are already documented in the schema. The description adds no additional syntax, format, or example guidance for any parameter, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ('Delegate code, configuration, or boilerplate drafting') plus the mechanism ('Spendplane's zero-cost free-model pool'), which is distinctive from pricing/estimation siblings. It stops short of naming or explicitly contrasting any sibling tool, so it lands at 4 rather than 5.

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

Usage Guidelines4/5

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

The clause 'so premium agent tokens are only spent on review and verification' communicates the intended workflow: use this for cheap first-pass drafting, then verify elsewhere. There are no explicit exclusions or named alternatives, which keeps it below a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources