Skip to main content
Glama

app_get_state

Retrieves the full canvas state or returns only metadata when a supplied revision or hash shows no changes, helping clients sync the board without redundant payloads.

Instructions

读取画板的完整状态,或在已知版本未变化时只返回状态元信息。

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": "app_get_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
knownRevisionNo
knownImageHashNo
knownReferenceHashesNo
knownTargetImageHashNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description bears the full disclosure burden, and it does deliver the key behavioral trait: the response degrades to metadata-only when the known version is unchanged. It omits permission requirements, response size/cost implications, and how the four different 'known*' inputs each affect the change check.

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 with the primary behavior stated first and the conditional branch second; no filler. It is slightly terse given the four undocumented parameters, but nothing is wasted.

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 tool with four undocumented optional parameters and no output schema, the description covers the two return modes but not what '状态元信息' actually contains or how each hash input triggers the shortcut. Adequate to call the tool, not adequate to call it optimally.

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 0%, so the description must compensate. It maps the four known* parameters collectively to the 'known version unchanged' check, which is genuine added meaning, but it never differentiates knownRevision from knownImageHash, knownReferenceHashes, or knownTargetImageHash, leaving per-parameter semantics undocumented.

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 verb and resource ('读取画板的完整状态' – read the board's full state) and adds the dual-mode behavior (full state vs. metadata-only). It does not distinguish this from overlapping siblings such as get_board_state or app_sync_state, so it falls short of a 5.

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?

Usage is implied rather than stated: the agent can infer that supplying known revision/hash info enables the cheaper metadata-only path. There is no explicit when-to-use guidance, no exclusions, and no mention of when to prefer a sibling tool instead.

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