Skip to main content
Glama

Ask Preset

ask_preset

Run a named preset from models.ini by sending a prompt, enabling configured or custom model workflows for coding, analysis, vision, and technical tasks.

Instructions

Invoke any configured or custom [preset] section from models.ini by name.

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": {
      "preset": "<preset>",
      "prompt": "<prompt>"
    },
    "name": "ask_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
ignoreNo
presetYes
promptYes
streamNo
includeNo
timeout_sNo
file_pathsNo
image_pathNo
max_tokensNo
image_pathsNo
json_schemaNo
system_promptNoYou are a helpful local specialist assistant.
use_gitignoreNo
gitignore_pathsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

D1.9/5.0
Behavior1/5

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

With no annotations, the description carries the full behavioral burden and discloses almost nothing: no mention of streaming, file/image inputs, timeouts, token limits, gitignore filtering, or structured output via json_schema. The only behavioral hint is that configuration is read from models.ini, which does not begin to cover the 14-parameter surface.

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

Conciseness3/5

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

A single well-formed sentence with no filler, front-loaded on the verb. Its brevity, however, is under-specification rather than economy given the size of the parameter set.

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

Completeness1/5

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

For a 14-parameter tool with no annotations and no parameter descriptions, one sentence is far from sufficient. The existence of an output schema excuses explaining return values, but inputs, preset overrides, file handling, and streaming behavior all remain undocumented.

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

Parameters1/5

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

Schema description coverage is 0% across 14 parameters, and the description explains only that 'preset' is a name from models.ini. Required 'prompt' is never mentioned, nor are the many override-style parameters (ignore/include, file_paths, image_paths, json_schema, timeout_s, stream), leaving the agent to guess their semantics entirely.

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

Purpose3/5

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

The verb 'Invoke' plus the resource '[preset] section from models.ini' identifies the action, but the terminology assumes the agent already knows what a preset section is and where models.ini lives. It does not distinguish this from the sibling ask_batch, which by name alone sounds like a batch variant of the same capability.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this versus ask_batch, no prerequisites (e.g. a preset must already exist in models.ini), and no statement about when not to use it. The agent must infer the selection rule from the name alone.

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

Deploy Server

Other Tools