Skip to main content
Glama

get_account_request_logs_stats

Read-onlyIdempotent

Get aggregated request-log statistics for a LinkedIn account, grouped by day, week, or month, with optional action and date-range filters. Use for the weekly review or to size an account's activity; for individual calls use get_account_request_logs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateNoEnd of the period, ISO 8601 (default: now).
group_byNoBucket size for the statistics: day, week or month.
account_idYesReach id of the LinkedIn account to act on, from list_accounts.
start_dateNoStart of the period, ISO 8601 (default: 30 days ago).
request_typeNoOnly rows of this request type (for example send_message, list_conversations, connect).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucketsNo
end_dateNo
group_byNo
start_dateNo
request_typeNo
available_actionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safe-read profile is fully covered by structured data. The description adds only that results are bucketed aggregates rather than raw rows, which is modest added context; it does not discuss limits, result caps, or ordering. With annotations carrying the safety burden, a 3 is appropriate.

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?

Two sentences, zero filler; the aggregation scope is front-loaded and the routing to the sibling tool comes second. Every sentence earns its place.

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?

An output schema exists, so return values need not be described, and the schema plus annotations fully cover inputs and safety. The description supplies the one thing structured fields cannot: the aggregation-vs-raw distinction and when to pick this tool.

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%, so all five parameters (account_id, start/end date, group_by, request_type) are already documented in the schema with defaults and an enum. The description's mention of 'action and date-range filters' and bucket sizes only restates that, adding no syntax or format detail beyond the schema.

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?

States a specific verb+resource ('Get aggregated request-log statistics'), names the aggregation dimension (day/week/month) and filters, and explicitly distinguishes itself from the sibling get_account_request_logs. An agent can separate this from the raw-log tool without opening either schema.

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

Usage Guidelines5/5

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

Gives concrete use cases ('weekly review', 'size an account's activity') and names the alternative ('for individual calls use get_account_request_logs') with the condition that selects it. This is the explicit when-to-use/when-not guidance the dimension asks for.

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