Skip to main content
Glama

Craft Quantities: construction material calculators

Create a My Project file from calculations

create_project_file_from_calculations
Read-onlyIdempotent

Creates one My Project backup file from a list of calculator lines (each a calculator slug and its input values). Each line is computed as the site's page adds it; the reader restores the file on craftquantities.com as a new project. Nothing is stored or sent; no prices.

Input Schema

NameRequiredDescriptionDefault
nameNoThe new project's name.
detailNofull (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read.full
marketNoOptional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures.
systemNoThe unit system inputs left out open in, and the one the page link opens in. The answer comes in both.metric
calculatorsYesThe calculator lines: each a slug and its input values.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "drawing": {
      -        "properties": {
      -          "carried": {
      -            "type": "boolean"
      -          },
      -          "note": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "carried"
      -        ],
      -        "type": "object"
      -      },
      -      "engine": {
      -        "type": "object"
      -      },
      -      "file": {
      -        "properties": {
      -          "content": {
      -            "properties": {
      -              "exportedAt": {
      -                "type": "string"
      -              },
      -              "magic": {
      -                "const": "craftquantities.backup"
      -              },
      -              "stores": {
      -                "type": "object"
      -              },
      -              "v": {
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "magic",
      -              "v",
      -              "exportedAt",
      -              "stores"
      -            ],
      -            "type": "object"
      -          },
      -          "filename": {
      -            "type": "string"
      -          },
      -          "mediaType": {
      -            "const": "application/json"
      -          }
      -        },
      -        "required": [
      -          "filename",
      -          "mediaType",
      -          "content"
      -        ],
      -        "type": "object"
      -      },
      -      "howToImport": {
      -        "type": "string"
      -      },
      -      "licence": {
      -        "properties": {
      -          "attribution": {
      -            "type": "string"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "url": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "name",
      -          "url",
      -          "attribution"
      -        ],
      -        "type": "object"
      -      },
      -      "notice": {
      -        "type": "string"
      -      },
      -      "project": {
      -        "properties": {
      -          "lines": {
      -            "items": {
      -              "required": [
      -                "label",
      -                "quantity",
      -                "unit",
      -                "from"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "system": {
      -            "enum": [
      -              "metric",
      -              "imperial"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "name",
      -          "system",
      -          "lines"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "engine",
      -      "file",
      -      "project",
      -      "howToImport",
      -      "licence",
      -      "notice"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "citation": {
      -        "description": "The one citation line, built from the answer's own data.",
      -        "type": "string"
      -      },
      -      "detail": {
      -        "const": "summary"
      -      },
      -      "lines": {
      -        "description": "The result lines, as the report's table gives them.",
      -        "items": {
      -          "additionalProperties": {
      -            "type": "string"
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "more": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "notes": {
      -        "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "open": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "title": {
      -        "type": "string"
      -      },
      -      "tool": {
      -        "type": "string"
      -      },
      -      "url": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "detail",
      -      "tool",
      -      "title",
      -      "lines",
      -      "notes",
      -      "citation",
      -      "url",
      -      "open",
      -      "more"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "drawing": {
      +        "properties": {
      +          "carried": {
      +            "type": "boolean"
      +          },
      +          "note": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "carried"
      +        ],
      +        "type": "object"
      +      },
      +      "engine": {
      +        "type": "object"
      +      },
      +      "file": {
      +        "properties": {
      +          "content": {
      +            "properties": {
      +              "exportedAt": {
      +                "type": "string"
      +              },
      +              "magic": {
      +                "const": "craftquantities.backup"
      +              },
      +              "stores": {
      +                "type": "object"
      +              },
      +              "v": {
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "magic",
      +              "v",
      +              "exportedAt",
      +              "stores"
      +            ],
      +            "type": "object"
      +          },
      +          "filename": {
      +            "type": "string"
      +          },
      +          "mediaType": {
      +            "const": "application/json"
      +          }
      +        },
      +        "required": [
      +          "filename",
      +          "mediaType",
      +          "content"
      +        ],
      +        "type": "object"
      +      },
      +      "howToImport": {
      +        "type": "string"
      +      },
      +      "licence": {
      +        "properties": {
      +          "attribution": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "url",
      +          "attribution"
      +        ],
      +        "type": "object"
      +      },
      +      "notice": {
      +        "type": "string"
      +      },
      +      "project": {
      +        "properties": {
      +          "lines": {
      +            "items": {
      +              "required": [
      +                "label",
      +                "quantity",
      +                "unit",
      +                "from"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "system": {
      +            "enum": [
      +              "metric",
      +              "imperial"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "system",
      +          "lines"
      +        ],
      +        "type": "object"
      +      },
      +      "state": {
      +        "properties": {
      +          "characters": {
      +            "type": "integer"
      +          },
      +          "format": {
      +            "description": "The token's format and version.",
      +            "type": "string"
      +          },
      +          "link": {
      +            "description": "Opens the project on the site from the token, carried in the address fragment, which a browser does not send to any server.",
      +            "type": "string"
      +          },
      +          "note": {
      +            "type": "string"
      +          },
      +          "token": {
      +            "anyOf": [
      +              {
      +                "description": "The project's inputs, deflated and base64url-encoded with a format version and a CRC-32 check (cqp1.…). Compact, not encrypted: anyone who has it can read it.",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "token",
      +          "format",
      +          "note"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "engine",
      +      "file",
      +      "project",
      +      "howToImport",
      +      "licence",
      +      "notice"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "citation": {
      +        "description": "The one citation line, built from the answer's own data.",
      +        "type": "string"
      +      },
      +      "detail": {
      +        "const": "summary"
      +      },
      +      "lines": {
      +        "description": "The result lines, as the report's table gives them.",
      +        "items": {
      +          "additionalProperties": {
      +            "type": "string"
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "more": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "notes": {
      +        "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "open": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "tool": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "detail",
      +      "tool",
      +      "title",
      +      "lines",
      +      "notes",
      +      "citation",
      +      "url",
      +      "open",
      +      "more"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description corroborates that with genuinely new context: 'Nothing is stored or sent; no prices' clarifies there are no side effects or pricing data, and 'Each line is computed as the site's page adds it' explains how values are resolved. It stops short of describing failure behavior or limits (max 50 lines) beyond what the schema already says.

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, front-loaded with the action and resource, then workflow, then the safety/no-cost guarantee. Every sentence carries distinct information with no repetition of the structured fields.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile while the schema fully documents the five parameters. The description supplies the workflow framing (compute-per-line, restore on the site) that ties the inputs to the artifact; only minor gaps like limits and error behavior remain, and the schema covers those.

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 every parameter (name, detail, market, system, calculators and nested fields) is already documented in the schema, including enums, defaults and unit formats. The description only restates the calculators parameter parenthetically and adds no format or fallback detail beyond the schema, so baseline 3 applies.

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 gives a specific verb and resource ('Creates one My Project backup file from a list of calculator lines') and defines the input unit ('each a calculator slug and its input values'), which separates it from the drawing/house/plan/takeoffs siblings by input mode. It never names those alternatives directly, so the differentiation relies on the name and a single clarifying clause rather than explicit contrast.

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 rather than stated: 'the reader restores the file on craftquantities.com as a new project' tells the agent the outcome and hence the general intent, but there is no when-to-use, no when-not-to-use, and no reference to the sibling create_project_file_from_* tools. The agent must infer the choice from the tool name alone.

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