Skip to main content
Glama

Check before building software

check_before_build
Read-onlyIdempotent

Check before proposing software for a business outcome. Compare the host, current tools, products, APIs or a mixed approach. With evidence ready, send named_options or component_review immediately. For open-ended requests return evidence only and omit the group decision. Supply a decision only when the user explicitly asks to validate a preferred option. Each named_options.groups[].options[] row needs name, route (e.g. use_existing), fit (e.g. unknown), pricing_status (e.g. unknown) and basis. A requirement-only research call returns a copyable example and all values. If comparison_status is needs_research, follow research_handoff and return the evidence to this tool before choosing or acting. If complete, use its choice, conditional first step or specific blocker. A candidate or continue without a handoff needs no further call. Use refresh=true for supported live documentation. Keep customer records and credentials private. Independent QA is optional. Business value needs customer evidence.

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": {
      "requirement": "<requirement>"
    },
    "name": "check_before_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
refreshNoTrue asks the server to check supported official vendor pages live. False or omitted uses dated evidence for an instant result. For other products, use the returned research steps. Account access is separate.
criticalityNo
it_capacityNo
requirementYesThe user's proposed build and its essential constraints.
named_optionsNoGroup credible alternatives for the same workflow. Include the host or incumbent when relevant. Report fit, evidence and material uncertainty even without prices. Supply both currency and months for any monetary figures, or omit both for a qualitative check. For open-ended briefs omit decision and let Before Build compare the evidence. Supply it only when the user explicitly asks to validate a preferred option. Independent developer QA is optional.
planned_buildNoSet only when the planning host has determined it would otherwise propose a software build for this workflow. Allows the host to research a component even when no catalog phrase matches.
cost_scenariosNoOptional comparable estimates for the same workflow and usage. Include one-time integration and migration, supplier charges, and staff/support costs. Do not invent missing costs.
incumbent_planNo
record_locationNo
component_reviewNoOptional host-researched comparison after reading official capability documentation. Separate existing internal work from necessary new code, list one sourced component per distinct capability with its source URL, and assess whether a configured product already covers the whole job. Use only public documentation URLs; account entitlements, data permission, maintainers and cost must be established separately.
incumbent_regionNoMarket of the product edition, if known.
system_of_recordNo
incumbent_productNoExisting product independently identified by the host or user.
external_processingNo
technical_advice_reviewNoSet true to request an optional technical review of this recommendation or false to opt out. It does not commission paid work or test the actual implementation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / named_options
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Group credible alternatives for the same workflow. Include the host or incumbent when relevant. Report fit, evidence and material uncertainty even without prices. Supply both currency and months for any monetary figures, or omit both for a qualitative check. For open-ended briefs omit decision and let Before Build compare the evidence. Supply it only when the user explicitly asks to validate a preferred option. Independent developer QA is optional.",
      +  "properties": {
      +    "currency": {
      +      "pattern": "^[A-Z]{3}$",
      +      "type": "string"
      +    },
      +    "groups": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "decision": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "next_step": {
      +                "description": "One practical next step within existing authorization. For a conditional choice, describe a bounded, reversible check.",
      +                "maxLength": 500,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "option": {
      +                "description": "Exact name of a listed option to choose or evaluate. Omit for inconclusive.",
      +                "maxLength": 160,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "reason": {
      +                "description": "Why this best serves the workflow compared with the other credible paths, or the specific blocker.",
      +                "maxLength": 500,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "revisit_when": {
      +                "description": "An observable result or changed requirement that would reopen the choice.",
      +                "maxLength": 500,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "status": {
      +                "enum": [
      +                  "recommended",
      +                  "conditional",
      +                  "inconclusive"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "reason",
      +              "next_step",
      +              "revisit_when"
      +            ],
      +            "type": "object"
      +          },
      +          "options": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "basis": {
      +                  "description": "Source or explicit assumptions, including material fit or price uncertainties.",
      +                  "maxLength": 500,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "costs": {
      +                  "additionalProperties": false,
      +                  "description": "A priced, itemized scenario must supply all three fields. Use explicit zero only for a known zero.",
      +                  "properties": {
      +                    "monthly_maintenance": {
      +                      "description": "Expected monthly cost of operation, support and maintenance.",
      +                      "maximum": 1000000000000000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "monthly_service": {
      +                      "maximum": 1000000000000000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "setup": {
      +                      "description": "One-time build, migration and integration costs, excluding separately itemized review and fixes.",
      +                      "maximum": 1000000000000000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    }
      +                  },
      +                  "required": [],
      +                  "type": "object"
      +                },
      +                "data_flow": {
      +                  "description": "Reported movement of restricted data. When external processing is forbidden, only local_only and inbound_only scenarios can enter the cost ranking.",
      +                  "enum": [
      +                    "local_only",
      +                    "inbound_only",
      +                    "outbound"
      +                  ],
      +                  "type": "string"
      +                },
      +                "fit": {
      +                  "enum": [
      +                    "meets",
      +                    "unknown",
      +                    "fails"
      +                  ],
      +                  "type": "string"
      +                },
      +                "includes_review_fixes_and_maintenance": {
      +                  "description": "Use true only for a QA period total that covers review, fixes and maintenance for the full stated term. Describe inclusions in basis.",
      +                  "type": "boolean"
      +                },
      +                "name": {
      +                  "maxLength": 160,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "period_total": {
      +                  "description": "A supplied total for exactly this scope and term. A fixed-price QA total also requires explicit inclusion of review, expected fixes, and maintenance.",
      +                  "maximum": 1000000000000000,
      +                  "minimum": 0,
      +                  "type": "number"
      +                },
      +                "pricing_status": {
      +                  "enum": [
      +                    "priced",
      +                    "quote_required",
      +                    "unknown"
      +                  ],
      +                  "type": "string"
      +                },
      +                "qa_labor": {
      +                  "additionalProperties": false,
      +                  "description": "One-time independent review and expected fixes. An itemized AI build with freelance QA requires all four fields plus the three cost components.",
      +                  "properties": {
      +                    "expected_fix_hours": {
      +                      "maximum": 1000000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "fix_hourly_rate": {
      +                      "maximum": 1000000000000000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "review_hourly_rate": {
      +                      "maximum": 1000000000000000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "review_hours": {
      +                      "maximum": 1000000,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    }
      +                  },
      +                  "required": [],
      +                  "type": "object"
      +                },
      +                "route": {
      +                  "enum": [
      +                    "build",
      +                    "buy",
      +                    "api",
      +                    "use_existing",
      +                    "hybrid",
      +                    "service",
      +                    "ai_build_freelance_qa"
      +                  ],
      +                  "type": "string"
      +                },
      +                "source_url": {
      +                  "description": "Optional public HTTPS source. The server does not fetch it.",
      +                  "format": "uri",
      +                  "maxLength": 500,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "route",
      +                "pricing_status",
      +                "fit",
      +                "basis"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 25,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "workflow": {
      +            "maxLength": 160,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "workflow",
      +          "options"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 12,
      +      "minItems": 1,
      +      "type": "array"
      +    },
      +    "months": {
      +      "maximum": 120,
      +      "minimum": 1,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "groups"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / technical_advice_review
      Added value: +{
      +  "description": "Set true to request an optional technical review of this recommendation or false to opt out. It does not commission paid work or test the actual implementation.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources