Skip to main content
Glama

deepinfra

Query logs

deepinfra_query_logs
Read-only

Query inference request logs for a dedicated deployment over a time window. DeepInfra REST: GET /v1/logs/query.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoWindow end — fractional-seconds unix timestamp, exclusive.
fromNoWindow start — fractional-seconds unix timestamp, inclusive.
limitNoMax log lines to return (default 100, range 1..1000).
deploy_idYesThe deployment id to query logs for (required).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, so the agent knows this is a safe read operation. The description adds the REST endpoint and the time-window scoping context, but does not disclose auth requirements, rate limits, pagination behavior, or return format. With annotations covering the safety profile, this is an adequate but not rich behavioral disclosure.

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 with zero waste; the core purpose and scope are front-loaded before the REST endpoint reference. Every sentence earns its place.

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 read-only log query tool with full schema descriptions and no output schema, the description covers the essential purpose and scope. It omits details about return format or pagination, but given the schema's completeness and the absence of an output schema, these gaps are minor.

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 four parameters (to, from, limit, deploy_id) are fully documented in the schema itself. The description adds no parameter-level meaning beyond what the schema already provides, so the baseline score of 3 applies.

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 ('Query'), resource ('inference request logs'), and scope ('for a dedicated deployment over a time window'). This clearly differentiates it from sibling tools like get_live_metrics or get_deployment_stats, which retrieve different data types.

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?

The description implies when to use the tool (to query logs for a deployment within a time window) but provides no explicit when-not conditions or alternative tools. There are many sibling tools, and no routing guidance is given.

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.