Skip to main content
Glama

henosis

count_entities

Read-only

Count entities of an EntityType matching optional filters, without fetching them — useful for deciding a fetch/pagination strategy.

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": {
      "type": "<type>"
    },
    "name": "count_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNo
typeYes
filtersNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds a genuine behavioral trait beyond that — the count is produced 'without fetching' the entities, meaning no record payloads are returned. It says nothing about cost, rate limits, or whether counts are exact, which would be the next useful layer.

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

Conciseness5/5

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

A single sentence with the core action front-loaded and the distinguishing trait immediately after the em dash. No filler, no repetition of the tool name.

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 shape need not be described, and the read-only nature is covered by annotations. However, for a 3-parameter tool with zero schema descriptions, the unexplained 'at' parameter and the absence of any routing hint toward list_entities/search_entities leave meaningful gaps.

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 coverage is 0%, so the description carries the burden. It clarifies that 'type' is an EntityType and that 'filters' are optional, but it never explains the 'at' parameter (apparently a temporal/as-of qualifier) or what filter keys are accepted, leaving a third of the parameters undocumented anywhere.

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 ('Count entities of an EntityType') plus scope ('matching optional filters') and a functional differentiator ('without fetching them'), which separates it from the list/search/get siblings. It stops short of naming a specific sibling, so it is clear but not fully differentiated by name.

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?

'Useful for deciding a fetch/pagination strategy' implies the situation (size the result set before pulling records) but gives no explicit when-not guidance and names no alternative such as list_entities or aggregate. Usage must be inferred from the purpose clause.

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.