Skip to main content
Glama

Query template usage

craftmypdf_query_template_usage
Read-only

Usage statistics (how many generations) of up to 20 templates within an optional date range. Dates are ISO 8601 UTC date-times such as 2026-10-01T00:00:00Z. GET /query-template-usage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateNoEnd, ISO 8601 UTC.
start_dateNoStart, ISO 8601 UTC, e.g. 2026-10-01T00:00:00Z.
template_idsYes1-20 template ids.

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=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered without description help. The description adds the 20-template ceiling and optional date-range scoping, but says nothing about the shape of the statistics returned or whether the count is aggregated over the range, so it adds only modest context beyond structured data.

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 compact sentences with the resource and scope front-loaded and the format example tucked in afterward. The trailing endpoint string is mildly redundant but costs almost nothing.

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?

With a fully covered schema, annotations handling the safety profile, and no output schema to describe, the definition covers what an agent needs to invoke the call. The only shortfall is that it does not hint at the returned statistic's structure, which would be helpful given there is no output schema.

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 the schema already documents template_ids (with example and pattern), start_date and end_date. The description restates the ISO 8601 UTC format with an example but offers no additional semantics such as what happens when dates are omitted or how the range is applied. Baseline 3.

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 a specific verb and resource — usage statistics (generation counts) for templates over an optional date range — and even includes the underlying endpoint. It is clearly distinguishable from mutation/inspection siblings like craftmypdf_get_template or craftmypdf_merge_pdfs, though it does not explicitly contrast itself with potential lookalikes such as craftmypdf_list_transactions.

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 explicit when-to-use or when-not-to-use guidance and no named alternatives. The 'optional date range' note implies a use case but the agent is left to infer that this is the tool for reporting/metering purposes versus merely listing resources.

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.