Skip to main content
Glama
renef-mcp
by Ahmeth4n

renef_hooks_list

Lists active native and Java hooks with their IDs and hit counts so you can verify current instrumentation targets before debugging or modifying code.

Instructions

List all active native and Java hooks with their IDs (0, j0, ...) and hit counts.

Returns: Formatted list of active native and Java hooks from the agent

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the observable behavior worth knowing — that only *active* hooks are returned, that IDs follow a native/Java naming pattern, and that hit counts are surfaced. It says nothing about whether the call mutates state, requires the agent to be attached, or how large the response can get, which are real gaps for a zero-annotation tool.

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 lead sentence is well-formed and front-loaded with the useful detail (ID format, hit counts). The trailing 'Returns:' block largely restates the first sentence ('Formatted list of active native and Java hooks from the agent') and adds cost without adding information, especially given an output schema already exists.

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 listing tool with an output schema, the description is nearly sufficient: it names the scope, the ID format, and the extra data field. The remaining omission is operational context — whether an attach session is required and whether these IDs are reusable as inputs to other hook tools.

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 filtering is possible and that all active hooks are returned, which is consistent with the empty 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 and resource: 'List all active native and Java hooks.' It adds distinguishing detail that IDs look like `0`/`j0` and that hit counts are included, so an agent knows exactly what comes back. It stops short of naming or contrasting any sibling (e.g. renef_events or renef_hook_native), which keeps it out of the top band.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no stated preconditions, and no mention of alternatives such as renef_events for watching hook hits or the renef_hook_* tools for creating hooks. Usage is only implied by the verb 'List,' which is the minimum inferable context.

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