Skip to main content
Glama

What the editor holds

get_state
Read-only

Small and cheap: the open project, its file, saved or not, the selection, the playhead, and what the user changed since your last read.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint=false, so the description adds real value beyond them: it discloses the cost profile ('small and cheap'), that unsaved changes are visible ('saved or not'), and that the result is delta-oriented ('what the user changed since your last read'). What it omits is the shape/ordering of the returned payload, which matters since there is no output schema.

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?

A single front-loaded sentence that leads with the cost/ergonomics signal ('Small and cheap') before the field list. No filler, no repetition of the title, and every clause maps to a distinct piece of returned state.

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?

With no output schema, the description must enumerate return values, which it does with reasonable specificity. It stops short of saying how the state is structured (flat fields vs. nested) or whether 'changes since last read' resets, which for a delta-style read would be useful, but nothing essential to calling it is missing.

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

Parameters4/5

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

The tool takes zero parameters, so per the baseline the schema carries no semantic burden and the description need not explain inputs. It correctly spends no words on parameters and instead invests them in describing the result.

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 names the resource precisely and enumerates the returned state: open project, its file, saved/unsaved status, selection, playhead, and pending user changes. An agent can tell this is a state-snapshot read rather than a project-data read like get_project. It never states the verb explicitly ('returns a snapshot'), which keeps it just 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?

'Small and cheap' and 'since your last read' imply this is safe to call repeatedly and is intended for re-polling after user interaction. However, no sibling is named and there is no explicit statement of when to prefer this over get_project or look, so the routing guidance is inferred rather than given.

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