Skip to main content
Glama

generate_dockerignore

Generate .dockerignore file for a given runtime/framework

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": {
      "runtime": "<runtime>"
    },
    "name": "generate_dockerignore"
  }
}

Input Schema

NameRequiredDescriptionDefault
runtimeYesRuntime
frameworkNoFramework name (e.g. nextjs, django, spring)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does not state whether the file is written to disk, returned as content, whether existing .dockerignore files are overwritten, or what permissions/side effects are involved.

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?

The definition is a single front-loaded sentence with no filler. It is appropriately sized for a simple generator, though it could be marginally clearer about the output artifact.

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 generator with a fully described input schema and no output schema, the definition covers inputs adequately. It omits the return shape and file-writing behavior, which an agent would need to know in order to invoke it correctly.

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 the schema already documents the runtime enum and optional framework parameter. The description only restates that runtime/framework drive generation and adds no extra semantics such as framework defaults or validation behavior.

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 ("Generate") and resource (".dockerignore file") scoped to a runtime/framework. It is clear, but it does not distinguish this generator from the many sibling generate_* tools beyond the file type.

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 "for a given runtime/framework," but there is no explicit when-to-use guidance, no when-not-to-use guidance, and no named alternative for related configuration-generation tasks.

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.