Skip to main content
Glama

apps_state

Read-onlyIdempotent

Reads the active app draft, saved revisions, and actual target application states to verify deployment status after interruptions or file transfers.

Instructions

Read the active App draft, desired/saved revisions and actual target application states. Read this after interruption; do not infer application from file transfer success.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "apps_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdNo
connectionRefNoThe host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / connectionRef
      Added value: +{
      +  "description": "The host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish that this is a safe read-only, idempotent, non-destructive operation. The description adds meaningful context about what state layers are returned and warns against a common false inference after file transfers, which goes beyond the annotations.

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

Conciseness5/5

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

The definition is two tight sentences with no wasted wording. The read behavior is front-loaded and the interruption warning is a useful second sentence rather than noise.

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 state-inspection tool with no output schema and two mostly optional parameters, the description gives a reasonable inventory of what is read. It remains incomplete on how the result is structured and when appId should be supplied, leaving gaps an agent may need to resolve elsewhere.

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

Parameters2/5

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

The schema documents connectionRef in detail but leaves appId undocumented, and the description does not clarify whether appId is optional, what it identifies, or what happens when it is omitted. With only 50% schema description coverage, the description does not compensate for the missing parameter 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 uses a specific verb, 'Read', and names the resources precisely: active App draft, desired/saved revisions, and actual target application states. This is clear enough to distinguish it from control or transformation tools, though it does not explicitly name which sibling to use for alternative state views.

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?

It gives one concrete usage trigger, 'after interruption', and a useful warning not to infer application state from file transfer success. However, it does not explain when to prefer this over tools like apps_list or apps_operation_status, so guidance remains partial.

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