Skip to main content
Glama

Local Commander

Project snapshot

project_snapshot
Read-onlyIdempotent

Use this when the user wants an overview of an approved project: a bounded summary of its files and Git state, and with startup also its project policy and task continuation. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoPath relative to the selected project root (or the workspace root without a project target); omit for the root.
taskIdNoOwned task ID for the continuation context (optional)
startupNoAlso read the project policy, Git state and task continuation (optional)
sessionIdYesexecutionSessionId returned by execution_session_open
deadlineAtNoOptional UTC admission deadline at most 60 seconds ahead (queue start timeout, NOT process execution lifetime)
operationIdYesA new random UUID v4 for this call; reuse it only to retry this same call
idempotencyKeyNoOptional retry key, 8-128 chars of [A-Za-z0-9._:-]; defaults to operationId
efficiencyProfileNoOptional, unverified label of the client's model, recorded as display metadata in the device owner's local activity statistics. Omit when unknown. Never send credentials or conversation content.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds cost and lifecycle context that annotations cannot: one metered execution per call, ~2 second inline return, otherwise retain IDs for operation_status/operation_output rather than resending. That is exactly the kind of behavioral detail an agent needs for scheduling and retry decisions.

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?

Front-loads the trigger condition, then prerequisites, then the result-handling rule, with no filler sentences. It is dense and runs long for a single paragraph, but each clause carries operational meaning (cost, timing, retry guidance).

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?

For a complex tool (8 params, nested efficiencyProfile, no output schema) the description covers the return path: short result inline in ~2s or async IDs to poll. It stops short of describing what 'bounded summary' contains or what happens on timeout/failure, but the essential calling contract is present.

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 100%, so the schema already documents path, taskId, startup, deadlineAt, idempotencyKey and efficiencyProfile. The description only restates sessionId provenance and operationId freshness, which the schema already says; it adds no new syntax or constraint detail. Baseline 3 is appropriate.

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

Purpose5/5

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

States a specific verb and resource (bounded summary of an approved project's files and Git state, plus policy/task continuation under startup). An agent can distinguish this from fs_list, git_status and git_diff because it is framed as a combined, bounded overview rather than a listing or diff.

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?

Gives a clear triggering condition ('when the user wants an overview of an approved project') plus hard prerequisites: sessionId from execution_session_open and a fresh operationId. It also routes long-running results to operation_status/operation_output and warns against resending, but it never names an alternative tool for the narrow case (e.g. plain file listing or git status), so no explicit exclusions.

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