Skip to main content
Glama

Session show defaults

session_show_defaults
Read-only

Displays the project directory and device serial defaults currently pinned for the session, so you can verify settings configured with session_set_defaults before running adb commands.

Instructions

Show the project_dir/serial defaults currently pinned for this session (set via session_set_defaults).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds the useful behavioral fact that the scope is per-session state rather than global device state. It stops short of describing what is returned when no defaults are pinned (empty, null, or absent keys), 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 sentence with no filler, front-loaded with the verb and resource, and the trailing parenthetical earns its place by linking to the setter. Nothing is redundant with the title or annotations.

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 zero-parameter read of session state with annotations covering safety, the description is nearly complete. The one remaining gap is the return shape when nothing is pinned, which the agent cannot infer because no output schema exists.

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 the baseline is 4. The description correctly implies no input is needed by framing the values as already pinned for the session, and there are no parameters whose meaning needs elaboration.

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 a specific verb ("Show") and a specific resource (the project_dir/serial defaults pinned for the current session), and it ties that resource back to the sibling that sets it (session_set_defaults). This lets an agent separate it from session_set_defaults and session_clear_defaults without opening any schema, though it doesn't state the read-only counterpart relationship explicitly.

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 only implied: the parenthetical "(set via session_set_defaults)" tells the agent where the values come from, hinting this is the inspection step after setting defaults. There is no explicit when-to-use statement, no when-not-to-use, and no mention of session_clear_defaults as the alternative for removing defaults.

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