Skip to main content
Glama

set_app

Idempotent

Confirms and remembers the target app name before capturing any service, returning a message to relay and prompting for the first service to record.

Instructions

Confirm and remember the target app name before recording any service.

Call this when the user reports an app name, then echo the returned message back to the user and ask for the first service 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": {
      "name": "<name>"
    },
    "name": "set_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a non-destructive, idempotent write. The description adds real value beyond them: this tool persists session state that gates later service recording, and it returns a user-facing message that must be relayed. It does not say whether an existing app selection is overwritten or how an invalid name is handled.

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?

Two short sentences, imperative and front-loaded with the effect, followed by the call condition and follow-up. Minor redundancy between 'before recording any service' and 'ask for the first service name', but nothing wasteful.

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?

An output schema exists, so return values need no explanation, and for a one-parameter state-setting tool the description covers effect, trigger, and next step. The only real gap is behavior on an unrecognized or previously selected app name.

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 coverage is 0% and the single 'name' parameter is undocumented in the schema, so the description carries the burden. It does clarify that the value is an app name to be remembered, which is useful, but adds no format, casing, or validation semantics.

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?

The description states a specific action and resource: confirming and remembering the 'target app name', scoped as a prerequisite 'before recording any service'. That distinguishes it clearly from list_apps or start_service, though it never names an alternative explicitly.

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 trigger condition is explicit ('when the user reports an app name') and the downstream sequence is spelled out (echo the returned message, then ask for the first service name). No when-not guidance or named alternative is given, which keeps it short of a 5.

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