Skip to main content
Glama

metadata.query

Retrieve metadata entries stored by the Ghidra Headless MCP server, optionally filtered by key or prefix to locate specific analysis records.

Instructions

Read metadata entries stored by this server, optionally filtered by key or prefix.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "session_id": "<session_id>"
    },
    "name": "metadata.query"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNo
limitNo
offsetNo
prefixNo
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden; it only signals read-only intent through "Read". It says nothing about pagination defaults, whether results are ordered, the effect of omitted filters (all entries returned?), or permission/session requirements.

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?

A single front-loaded sentence with no filler; the core action and the filtering capability come first. Brevity is appropriate, though it borders on under-specification rather than tightness.

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

Completeness2/5

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

With no annotations, no output schema, and 5 undocumented parameters, the description is too thin for a paginated, session-scoped query tool. An agent still cannot tell what the response looks like, how paging behaves, or whether filters combine.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters, and the description only touches on key and prefix. It leaves limit, offset, and the required session_id entirely unexplained, so an agent gets no meaning beyond the bare types in the schema.

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?

States a specific verb ("Read") and resource ("metadata entries stored by this server"), which implicitly separates it from the write-side sibling metadata.store. It does not name or explicitly contrast that sibling, so differentiation is inferred rather than declared.

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?

The phrase "optionally filtered by key or prefix" hints at when the filter parameters matter, but there is no guidance on when to prefer this over metadata.store, no mention of prerequisites such as a required session_id, and no exclusions.

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

Deploy Server

Other Tools