Skip to main content
Glama
mrphrazer

Binary Ninja Headless MCP

by mrphrazer

type.define_user

Define a custom user type in a Binary Ninja session from a type source string, such as a C structure or enum, to enable structured reverse engineering without a GUI.

Instructions

Define user type from type source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
session_idYes
type_sourceYes
import_dependenciesNo
Behavior1/5

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

No annotations are provided, so the description carries full burden for behavioral disclosure. The description does not disclose whether this tool mutates the database, requires any permissions, has side effects (e.g., creates implicit dependencies when import_dependencies is true), or what happens if the type source is invalid. The agent has no clue about read/write behavior or error conditions.

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

Conciseness2/5

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

The description is under-specified, not concise. A single short sentence is acceptable, but it fails to convey essential information. Front-loading the verb 'Define' is not helpful without clarity on what that verb means in this context.

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

Completeness1/5

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

Given the tool has 4 parameters with 0% schema coverage, no annotations, no output schema, and 100+ sibling tools with similar domain (type.parse_string, type.parse_declarations, type.import_library_type, type.rename, type.undefine_user), the description is severely incomplete. The agent cannot safely or correctly invoke this tool based on available information.

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

Parameters1/5

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

Schema description coverage is 0% and the tool has 4 parameters. The description only mentions 'type source' which loosely maps to type_source, but provides no semantics for session_id, name, or import_dependencies. The agent cannot know what valid values look like for any parameter.

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

Purpose2/5

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

The description 'Define user type from type source' uses the vague verb 'Define' and the ambiguous noun 'type source'. The purpose is unclear: what does 'define' mean (create, update, set?)? What is a 'type source'—a string, a file, a library path? The sibling tools include type.parse_string, type.parse_declarations, type.import_library_type, and type.rename, none of which are clearly differentiated by this description.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool versus alternatives like type.parse_string or type.import_library_type. No context about prerequisites (e.g., does the session need a binary loaded?), no hints about when NOT to use it. The description is entirely silent on selection criteria.

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/mrphrazer/binary-ninja-headless-mcp'

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