Skip to main content
Glama

seff.io File Share

Check a file

v1.file.check
Read-onlyIdempotent

Check whether a file still exists and when it expires. Provide one of key, share_id, or share_url. Expired files return exists=false.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "v1.file.check"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoS3 object key.
share_idNoShort share ID.
share_urlNoFull share URL.

Output Schema

NameRequiredDescriptionDefault
keyNoObject key.
nameNoOriginal file name.
sizeNo
existsYes
cdn_urlNoDirect CDN URL.
share_urlNoShort share URL.
expires_atNoExpiry time in RFC 3339 format.
preview_urlNoPreview page URL.
seconds_leftNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and open-world behavior, so the safety profile is covered. The description adds one useful behavioral detail — expired files return exists=false — but does not discuss lookup failures for unknown keys or what a valid response contains, which is partly excused by the output schema.

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?

Three short sentences, zero filler, with the core purpose and the identifier constraint front-loaded ahead of the edge-case return note.

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 lookup with an output schema and full parameter coverage, the definition covers purpose, input constraint, and expired-file behavior. Only minor gaps remain, such as behavior for an unknown or malformed key, which the output schema likely handles.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds a genuine constraint absent from the schema: exactly one of key, share_id, or share_url must be supplied. The schema declares no required fields and no oneOf, so this mutual-exclusivity guidance is real added value.

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 states a specific verb and resource ('Check whether a file still exists') plus the secondary outcome ('when it expires'), which is far more informative than the title alone. It is distinguishable from the file.share and file.upload siblings, though it does not explicitly contrast itself with them.

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 implied by the purpose statement (existence/expiry lookup) and the invocation hint 'Provide one of key, share_id, or share_url', but there is no explicit when-to-use or when-not-to-use guidance and no named alternative for related lookups.

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