Skip to main content
Glama

sftp_vincular_repositorio

Defines the client's local Git repository for storing profile downloads, backups, and audit records under .claude/sftp//. Provide the repository path reported by the user.

Instructions

Define o repositorio git local do cliente, onde ficam downloads, backups e auditoria do perfil (/.claude/sftp//). Use o caminho que o usuario informou.

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": {
      "perfil": "<perfil>",
      "caminho_repositorio": "<caminho_repositorio>"
    },
    "name": "sftp_vincular_repositorio"
  }
}

Input Schema

NameRequiredDescriptionDefault
perfilYes
caminho_repositorioYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is partly covered. The description adds real value by disclosing the on-disk layout that results from the call, but it does not say whether missing directories are created, whether an existing link is overwritten, or what validation occurs on the git repository.

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 short sentences, front-loaded with the purpose and followed by the storage layout and the sourcing instruction. Nothing is redundant, though the final sentence is slightly vague about what 'o caminho que o usuario informou' should look like.

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?

For a two-parameter configuration tool with no output schema, the definition covers intent and resulting layout adequately, and annotations supply the mutation profile. It still leaves the agent guessing about directory creation, path format, and overwrite/validation behavior, which matter for a write operation.

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 0%, so the description must carry the burden. It does partly: the path template <repositorio>/.claude/sftp/<perfil>/ implies that 'perfil' selects a subfolder and that 'caminho_repositorio' is the repository root. However, it never states whether the path must be absolute, whether it must already exist, or what format 'perfil' takes.

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?

States a specific verb and resource: it defines/links the client's local git repository and explains that downloads, backups and profile audit live under <repositorio>/.claude/sftp/<perfil>/. That is a clear purpose that separates it from siblings like sftp_cadastrar (registration) or sftp_baixar (download), though the description never names those siblings explicitly.

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: 'Use o caminho que o usuario informou' tells the agent where to get the path but not when to call this versus other setup tools, nor any prerequisites. There is no statement about whether the repository must already exist, whether git must be initialized, or what happens if a link is already configured.

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