Skip to main content
Glama
DerechoVirtual

centralita-vpbx-mcp

Contar llamadas (CDR)

pbx_count_calls
Read-only

Counts total calls in a virtual PBX, optionally filtered by date or time range. Use to retrieve call volume for analysis or reporting.

Instructions

Número total de llamadas registradas (opcionalmente dentro de un rango).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoFin en epoch milisegundos (alternativa a 'hasta')
dateNoDía concreto YYYY-MM-DD (atajo: cubre 00:00–24:00 de ese día)
fromNoInicio en epoch milisegundos (alternativa a 'desde')
desdeNoInicio del rango YYYY-MM-DD (o 'YYYY-MM-DD HH:mm:ss')
hastaNoFin del rango YYYY-MM-DD (o 'YYYY-MM-DD HH:mm:ss')
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description does not need to emphasize safety. It adds that the tool returns a count, but does not detail the exact return format or any limitations beyond the range. This is minimal added value given the annotations.

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 that is complete, front-loaded with key information, and contains no waste. It efficiently conveys the tool's purpose and optional filtering capability.

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 simple counting tool with no output schema, the description is adequately complete. It identifies the resource (calls) and optional range. The input schema fully documents parameters, and annotations cover behavioral traits. A small improvement could be specifying that the return value is a single integer.

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?

The input schema has 100% coverage with descriptions for all 5 parameters (e.g., 'to': 'Fin en epoch milisegundos'). The tool description only generically mentions 'within a range', adding no new meaning beyond what the schema already provides. Baseline of 3 is appropriate.

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

Purpose5/5

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

The description clearly states the tool returns the total number of registered calls, optionally filtered by a date range. It uses a specific verb-contar (count) and resource (llamadas), and distinguishes from sibling tools like pbx_list_calls that return detailed call records.

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

Usage Guidelines4/5

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

The description notes the optional range filtering, implying use when a total count is needed rather than detailed call logs. However, it does not explicitly state when not to use it or name alternatives, though sibling tool names provide context.

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/DerechoVirtual/centralita-vpbx-mcp'

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