Skip to main content
Glama

step2gcode

get_step_download_link

Idempotent

Return the download link for a STEP file built by convert_mesh_to_step. While stl2step is in beta this is free and the answer says so; otherwise it is the billed step: one credit per model not paid for yet. The DXF contour that comes with a 2.5D part belongs to the same part and costs nothing extra.

Called without confirm, this tool charges nothing and only reports what the download would cost. Show that to the user, wait for their answer, and only then call again with confirm=true. Never set confirm=true on your own initiative - it spends the user's money.

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": {
      "step_id": "<step_id>"
    },
    "name": "get_step_download_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoSet to true only after the user has explicitly agreed to spend the credit.
step_idYesstep_id from convert_mesh_to_step

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=false. The description adds the substantive behavior the agent cannot infer: the one-credit-per-unpaid-model billing rule, the free beta window, and the fact that the companion DXF contour carries no extra charge. It does not cover failure modes such as an unfinished job or missing step_id, so it stops short of 5.

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?

Front-loaded with the core purpose, then a clearly separated second paragraph holding the operational instructions, which is the right ordering for an agent. Some phrasing is loose ('the answer says so', the DXF sentence's double 'part'), costing a point but not obscuring intent.

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 only two parameters, full schema coverage, and annotations carrying the safety profile, the description covers purpose, prerequisites, cost model, and the consent flow. Only the response shape in the unconfirmed case and error conditions (e.g. step not yet built) remain unstated despite there being no output schema.

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 already 100%, so baseline is 3. The description nonetheless adds real meaning to confirm by explaining the monetary consequence of setting it and the required user-consent step, and clarifies that step_id originates from convert_mesh_to_step.

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 concrete verb and resource ('Return the download link for a STEP file') and ties it to the producing tool convert_mesh_to_step, so the agent knows the input's origin. It does not explicitly distinguish itself from the sibling get_download_link, which is the only thing keeping it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit two-phase usage protocol: call without confirm to get a cost quote, present it to the user, wait, then call again with confirm=true. It also states a hard negative rule ('Never set confirm=true on your own initiative') and explains the free-during-beta exception, so there is no ambiguity about when each mode applies.

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