Skip to main content
Glama

Look up one session by id

arkime_session_detail
Read-only

Fetch Arkime session details by ID via point lookup. Returns the session row for quick access to session metadata without a search.

Instructions

Fetch the session Arkime holds under one id — a point lookup, not a search.

    What comes back is Arkime's own session row, which is narrower than the
    document behind it: measured on Malcolm v26.07.1 across 17 sessions,
    11-14 top-level keys of the 21-30 the stored document held, 400-560
    characters against 1-3 KB. `tags`, the `event` block and the Zeek /
    Suricata detail were absent every time, and http.md5 was too even where
    an http block came back. When the field you need is not in the answer,
    read the document itself with malcolm_search, or with search_dsl over
    arkime_sessions3-* on a {"term": {"_id": ...}} query taking the part of
    the id after the last ":". For the session's raw packets use
    arkime_session_pcap; for what the two sides actually sent, the payload
    bytes rather than parsed fields, use arkime_session_payload; for
    distinct values across many sessions use arkime_unique /
    arkime_spiview.

    An id this deployment does not hold is answered with a sentence rather
    than an error, so a bare "no session found" means the id aged out of
    retention or came from somewhere other than arkime_sessions — ids are
    not stable across re-indexing.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesOne Arkime session id from arkime_sessions results (arkime_sessions is the only source of these ids).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses that the returned row is 'narrower than the document behind it' with specific measured examples, and notes that missing ids return 'a sentence rather than an error.' This adds valuable behavioral context beyond annotations.

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?

The description is long but well-structured with a front-loaded purpose, followed by limitations, alternatives, and edge-case behavior. Every sentence provides distinct information, though a more concise version could be imagined.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a single parameter, output schema, and annotations, the description covers the tool's purpose, return shape, limitations, missing-id behavior, and sibling alternatives. It is fully adequate for an agent to select and invoke correctly.

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?

The schema already fully describes session_id as 'One Arkime session id from arkime_sessions results,' so the description adds little to parameter meaning. The mention of id instability across re-indexing is contextual but not needed for parameter semantics, hence baseline 3.

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?

The description opens with 'Fetch the session Arkime holds under one id — a point lookup, not a search,' which clearly identifies the verb, resource, and scope. It directly contrasts with search siblings, making its purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It explicitly directs users when a field is missing: 'read the document itself with malcolm_search, or with search_dsl...' and lists arkime_session_pcap, arkime_session_payload, arkime_unique/arkime_spiview for other needs. This gives clear when-to-use vs alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nagameTW/mcp-server-malcolm'

If you have feedback or need assistance with the MCP directory API, please join our Discord server