Skip to main content
Glama

Create field order

create_field_order

Cria uma ordem de serviço de campo para um contato. Passe process_id e process_step_id para amarrar a OS a uma etapa de um processo — aí fechar a OS conclui aquela etapa automaticamente. Sem eles, a OS é avulsa (chamado solto), que é o caso mais comum.

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": {
      "contact_id": "<contact_id>",
      "title": "<title>"
    },
    "name": "create_field_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesTítulo da OS (ex: "Medição do terreno")
addressNoEndereço da visita
type_idNoID do tipo de OS — instancia o checklist e o SLA daquele tipo
contact_idYesID do contato (use list_contacts)
process_idNoProcesso ao qual esta OS pertence (use list_processes)
descriptionNoDetalhes do serviço
scheduled_atNoData/hora agendada em ISO (ex: 2026-09-25T14:00:00Z)
process_step_idNoEtapa do processo que esta OS representa. Ao fechar a OS, a etapa é concluída. Exige process_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety surface is covered. The description adds genuinely new behavior — closing a process-linked OS automatically completes that process step — but says nothing about side effects (notifications, SLA/checklist triggering mentioned only in the schema), permissions, or reversibility.

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?

Two sentences, front-loaded with the action and followed by the key conditional behavior; no filler. It slightly restates the schema's process_step_id note, but overall density is high.

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?

For an 8-parameter creation tool with no output schema, the description does not say what is returned (presumably the created OS id needed for follow-up calls like update_field_order_status) nor which fields are required versus optional beyond the schema. Adequate but leaves an agent guessing about the response.

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 coverage is 100%, so the schema already carries full parameter documentation, including that process_step_id requires process_id and that closing the OS completes the step. The description only adds the 'standalone is the common case' framing, which is marginal over the schema text.

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 specific verb and resource: creates a field service order (OS) for a contact, with a clear note on the two modes (process-linked vs standalone). It does not distinguish itself from near-neighbors such as create_process or the service-order tools (get_service_order/list_service_orders vs list_field_orders), which leaves a small ambiguity an agent must resolve from names alone.

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 explains the branching semantics of process_id/process_step_id and notes that omitting them is the common case, which is real usage guidance. However, it gives no explicit when-to-use vs sibling tools (e.g. create_process, create_deal) and no prerequisites such as the contact having to exist first.

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