Skip to main content
Glama

selar

Read-only

Seals a collection file by computing its SHA-256, size, EXIF capture date, and camera metadata from a relative path, ignoring modification date.

Instructions

Sela um arquivo do acervo: SHA-256, tamanho, data EXIF de quando a foto foi tirada e câmera. Recebe o caminho relativo à pasta do acervo. Não usa a data de modificação.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "caminho": "<caminho>"
    },
    "name": "selar"
  }
}

Input Schema

NameRequiredDescriptionDefault
caminhoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description still adds real value by naming the derived attributes and by explicitly excluding the filesystem modification date, which prevents the agent from assuming mtime-based behavior. It does not say what happens when a file lacks EXIF data, whether the seal is persisted or only returned, or what an invalid path yields.

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?

Three short sentences with the operation and its derived fields front-loaded, followed by the input constraint, then the one non-obvious exclusion rule. No filler; the only mild cost is that the mtime sentence reads as a fragment before the reader knows why it matters.

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 no output schema, the description usefully enumerates the returned seal components, and it pins down the single input's semantics. For a read-only single-parameter tool this is nearly sufficient; the remaining gap is edge-case behavior (missing file, absent EXIF, files outside the acervo path).

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 0% (the only parameter carries just the title "Caminho"), so the description must compensate, and it does: it specifies the path is relative to the acervo folder, not absolute or arbitrary. It stops short of giving format examples or stating whether traversal outside the acervo is rejected.

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?

"Sela um arquivo do acervo" gives a concrete verb and resource, and the colon-clause enumerates exactly what the seal is composed of (SHA-256, tamanho, data EXIF, câmera), so the agent knows this is an integrity/metadata digest operation. The verb "selar" is non-standard on its own, but the enumeration removes the ambiguity. No sibling tools exist, so no differentiation is required.

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?

"Recebe o caminho relativo à pasta do acervo" plus "Não usa a data de modificação" imply the intended context (sealing a catalogued file by content, not by mtime), but there is no explicit statement of when to call this versus other operations, nor any prerequisite such as the file already existing in the collection. Usage is inferable rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools