Skip to main content
Glama

list_hooks

Read-onlyIdempotent

The workspace's hooks library: opening lines that worked, newest first (up to 300), each with its network, note and the saved post it came from. Pass some ids as hook_ids to create_test_from_url. On a plan without Reach the answer is {locked: true}. CAPABILITY: read: side-effect-free.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavior beyond that: a 300-item cap, newest-first ordering, the fields returned per hook, and the plan-gating behavior returning {locked: true} without Reach. Only pagination beyond the cap is left unstated.

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?

Front-loaded with the resource and scope, then ordering/cap, then the chaining hint and plan caveat. Nearly every clause carries information; the 'CAPABILITY: read' suffix is boilerplate already implied by readOnlyHint, which is the only slight redundancy.

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?

For a zero-parameter read tool with no output schema, the definition covers what comes back, in what order, how many, the plan-gated error shape, and what to do with the results. An agent has everything needed to call it and interpret the response.

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 mention of hook_ids refers to a different tool (create_test_from_url) rather than to this tool's inputs, so it adds no parameter meaning here, but there is nothing to document.

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 names the exact resource (the workspace's hooks library), what each item contains (network, note, source post), the ordering (newest first) and a hard cap (up to 300). The verb is implicit rather than stated ('list'), but an agent can immediately tell this is a read of saved hooks, distinct from add_hook or create_test_from_url.

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?

It gives a concrete downstream workflow hint ('Pass some ids as hook_ids to create_test_from_url'), which is genuinely useful routing. However, it never states when to call this versus the many other list_* siblings (list_inspiration, list_posts, etc.) and offers no exclusions; usage is implied rather than guided.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.