Skip to main content
Glama

Create subcontractor

create_subcontractor

Add a subcontractor (master data).

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": {
      "company_name": "<company_name>"
    },
    "name": "create_subcontractor"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNo
notesNo
phoneNo
tradeNo
statusNo
agent_idNo
daily_rateNo
descriptionNo
hourly_rateNo
company_nameYes
contact_personNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the mutation profile is covered structurally. The description adds nothing beyond that: no mention of duplicate handling, whether company_name must be unique, permission requirements, or what happens to status/rates on creation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded with the action and free of bloat, so there is nothing to trim. However, its brevity reflects under-specification rather than disciplined economy, and the unexplained "(master data)" parenthetical is the only added content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a create-mutation tool with 11 parameters, no output schema, and no documented return value, a nine-word description leaves an agent without the information needed to populate a record correctly. Nothing compensates for the zero-coverage schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 11 parameters, so the description carries the full burden and fails entirely — it names no parameter. Even the single required field (company_name) and the enum-constrained status (active/inactive/blacklisted) go unmentioned, leaving meanings like daily_rate vs hourly_rate and agent_id unexplained.

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 ("Add a subcontractor") and the "(master data)" qualifier signals this creates a directory record rather than a project-scoped assignment. It does not differentiate against siblings such as update_subcontractor or create_personnel, so it stops short of 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 Guidelines2/5

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

There is no guidance on when to call this instead of update_subcontractor (for existing records) or create_agent/create_personnel (for other party types). The "master data" parenthetical hints at scope but never states a condition for selection or any prerequisite.

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