Skip to main content
Glama

socket.help

inspect_temporary_file

Read-onlyIdempotent

Read file metadata and remaining downloads with its private token.

Input Schema

NameRequiredDescriptionDefault
idYesResource UUID.
tokenNoManagement or inspection token for anonymous resources. Omit for resources owned by your authenticated workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds two useful behavioral hints beyond that: a token is needed for anonymous resources, and the result includes remaining download allowance. It does not disclose whether inspecting itself consumes a download, which is the key risk for a quota-bearing resource.

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?

A single front-loaded sentence with no filler. The trailing 'with its private token' reads slightly awkwardly, but every element carries information and nothing is wasted.

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?

With rich annotations and full schema coverage, the definition is nearly sufficient for a two-parameter read tool. However, it never says what metadata is returned or whether inspection affects the remaining-download counter, which are meaningful gaps for a quota-tracked temporary resource with 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%, and the schema even explains when to omit the token for workspace-owned resources. The description's phrase 'with its private token' reinforces the token parameter but adds no syntax, format, or semantics beyond the schema. Baseline 3 applies when the schema already does the heavy lifting.

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 gives a specific verb and resource: read file metadata plus remaining download count, gated by a private token. That distinguishes it reasonably well from the sibling download_temporary_file (fetch contents) and delete_temporary_file (remove). It stops short of explicitly naming those siblings, so the differentiation is inferred rather than stated.

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?

Usage is only implied: an agent can infer you call this to check a temporary file's status or remaining download quota before acting on it. There is no explicit when-to-use or when-not-to-use guidance, no mention of pairing with download_temporary_file, and no note about what happens if downloads are exhausted.

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