Skip to main content
Glama

Binary Session

binary_session
Idempotent

Reports the active binary target, provider availability, capabilities, and server status without starting analysis, so you can inspect the current session before selecting or reopening a target.

Instructions

Report the active binary target or resource-only app root, provider and capability availability when applicable, client-feature, analysis, and server-identity status without starting analysis. analysis_provider_candidates_observed distinguishes this status request from retained target-selection observations; selection-time readiness may have changed. Set refresh_candidates true to inspect current candidates without changing the active binding or engine. open_binary with an explicit provider_id reselects and may retire the previous engine and its ephemeral edits; reopening the same target without provider_id reuses its current route. A selected provider may report release_verification under its binding; omission means not reported, and reported-version verification does not authenticate executable bytes. Start with the default summary: after selecting Ghidra, capabilities[].shared_limitations already reports enabled checkpoint or ephemeral mode. Request detail: "complete" only for provider diagnostics, candidate capabilities or static tool flags; omitted_fields lists what summary leaves out.

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

Input Schema

NameRequiredDescriptionDefault
detailNoStart with summary (default): it keeps open state, the binding, current-route capabilities (including selected Ghidra checkpoint mode), each provider candidate's availability and target-support status, code and reason, and every tool's availability, reason and remediation; omitted_fields lists what it leaves out. Request complete only when you need unavailable-candidate remediation, provider diagnostics, candidate capabilities or static tool surface, effect and annotation flags.
refresh_candidatesNo
expected_server_pathNo
expected_catalog_digestNo
expected_package_versionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.25.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations say readOnlyHint=false and idempotentHint=true, and the description adds real behavioral context beyond them: no analysis is started, refresh_candidates does not change the active binding or engine, and reopening with an explicit provider_id may retire the previous engine and its ephemeral edits. The release_verification caveat (omission means not reported; version verification does not authenticate executable bytes) is a genuinely useful trust qualifier. It stops short of explaining cost/latency or what probing side effects occur despite readOnlyHint=false.

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

Conciseness3/5

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

The purpose is front-loaded, but the body is a run-on chain of semicolon-joined clauses mixing status semantics, sibling behavior, and trust caveats. Most content earns its place, yet the phrasing (e.g., 'analysis_provider_candidates_observed distinguishes this status request from retained target-selection observations') is heavy for the value delivered.

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?

An output schema exists, so return-value explanation is not required, and the description usefully frames summary vs complete and the omitted_fields mechanism. The notable gap is the undefined expected_* guard parameters, which matter for correct invocation of a session-identity-checking tool and are left unexplained in both schema and prose.

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 only 20%, so the description carries most of the burden, and it explains detail and refresh_candidates well, including the summary/complete tradeoff. However, three parameters (expected_server_path, expected_catalog_digest, expected_package_version) receive no explanation at all, leaving their purpose — presumably binding/identity guards — to be inferred from the schema patterns.

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 opens with a specific verb and object: report the active binary target or resource-only app root, provider/capability availability, and server-identity status, explicitly 'without starting analysis'. It also distinguishes itself from open_binary's reselection path. The sentence is overloaded with a long list of status kinds, which blurs the single job slightly, keeping it from 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Concrete routing guidance is present: start with the default summary, request detail='complete' only for provider diagnostics/candidate capabilities/static tool flags, and set refresh_candidates=true to inspect candidates without rebinding. It also contrasts with open_binary's behavior when an explicit provider_id is passed. No explicit 'do not use this when...' exclusion is stated, and the alternatives are described rather than named for other status paths.

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