Skip to main content
Glama

Sigmora

Count hook types

hooks_stats
Read-onlyIdempotent

Counts of hook types in the bounded filtered sample. 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": "hooks_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional text to match against the hook or source metadata.
limitNoMaximum matching hooks to return, from 1 through 100. Defaults to 20.
nicheNoOptional creator niche or topic filter.
offsetNoZero-based page offset into the bounded sample. Defaults to 0.
evidenceNoEvidence quality to include: all, observed video evidence, or metadata suggestions. Defaults to all.all
hookTypeNoOptional structural opening-type filter.
languageNoOptional ISO-style source language filter.
platformNoOptional source platform filter.
workspaceNoWorkspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored.
visualHookTypeNoOptional visual opening-type filter.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds two genuinely useful facts beyond that: the count is over a bounded sample (not the full corpus) and the call is free of credit cost. It does not explain how the limit/offset parameters interact with a count result.

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?

Two short sentences with no filler; the scope constraint and the cost note are both front-loaded. The 'Free.' fragment is terse but carries real information rather than padding.

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

Completeness3/5

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

An output schema exists, so return-value explanation is unnecessary, and the annotations carry the safety profile. However, for a ten-parameter aggregation tool whose parameters include limit and offset, the description leaves unclear whether the count is affected by paging, which is a meaningful gap.

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?

Schema description coverage is 100% and every one of the ten parameters, including four enums, is documented in the schema. The description contributes no additional parameter semantics, so the baseline 3 applies.

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 ('Counts') and resource ('hook types') plus the scope ('bounded filtered sample'), which is enough for an agent to distinguish this aggregation tool from the sibling hooks_search. It stops short of explicitly contrasting itself with that sibling.

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 mention of the alternative (hooks_search) for retrieving actual hooks, and no indication of when a count is preferable. The word 'Free' is a weak usage nudge at best.

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.

Resources