Skip to main content
Glama

log_project_cost

Record cost entries for 3D printing projects by category, amount, and description, with optional printer and job ID for traceability.

Instructions

Log a cost entry against a project.

Args:
    project_id: The project ID returned by ``create_project``.
    category: Cost category — ``"material"``, ``"printer_time"``,
        ``"fulfillment_fee"``, ``"labor"``, or ``"other"``.
    amount: Cost amount in the configured currency.
    description: What this cost entry is for.
    printer_name: Optional printer that incurred the cost.
    job_id: Optional job ID for traceability.

Requires Enterprise license.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYes
job_idNo
categoryYes
project_idYes
descriptionNo
printer_nameNo
Behavior2/5

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

No annotations are provided, so the description carries full burden. It does not disclose side effects (e.g., whether logging is immutable, modifies project state), permissions beyond Enterprise license, idempotency, or rate limits. The description focuses on parameters rather than behavioral traits.

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?

The description is concise and well-structured: a one-sentence summary followed by a clean Args list. Every line is informative, no fluff. It is appropriately sized for the tool's complexity.

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?

Given 6 parameters, no output schema, and no annotations, the description covers parameters and license requirement adequately. However, it lacks information on return values, error conditions (e.g., invalid project_id), validation behavior, or examples. This makes it minimally complete for a simple logging tool but leaves some uncertainty.

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 description coverage is 0%, so the description must compensate. It explains all 6 parameters with meaningful context: category with specific enum values, amount in configured currency, optional printer_name and job_id for traceability. This adds significant value beyond the schema (which only provides names, types, and titles). Minor gaps: no format constraints on 'amount' (e.g., positive) or 'description' length.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states 'Log a cost entry against a project.' This is a specific verb ('Log') and resource ('cost entry') with clear scope ('against a project'). It distinguishes from siblings like 'create_project' (creates projects) and 'project_cost_summary' (summarizes costs).

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?

The description mentions 'Requires Enterprise license' as a constraint but does not explicitly state when to use this tool vs alternatives (e.g., estimate_cost, project_cost_summary). It implies usage for recording actual costs to existing projects but lacks exclusions or guidance on alternative tools. Given the large sibling list, some differentiation would help.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/codeofaxel/kiln'

If you have feedback or need assistance with the MCP directory API, please join our Discord server