Skip to main content
Glama

Crear una orden de servicio en Cooper

createOrder

Crea una orden de servicio (paseo, adiestramiento, guardería, internación) para el usuario autenticado. Antes de invocar esta tool, el asistente debe presentar al usuario un resumen claro de la orden que se va a crear (tipo de servicio, frecuencia, fecha de inicio, dirección, mascota y precio orientativo) y obtener su confirmación explícita. Si el usuario no confirma de forma inequívoca, no invocar esta tool. Para precios y planes vigentes, invocar previamente getServiceCatalog. Para mascotas y órdenes del usuario, utilizar getMyPets y getMyOrders. El backend valida que la dirección pertenezca al usuario autenticado.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNoNotas adicionales para el cuidador.
animalsYesMascotas incluidas en la orden. Al menos una.
sessionsYesSesiones de la orden. Al menos una.
address_idYesIdentificador de la dirección del usuario, obtenido de su perfil.
pcp_place_type_idNoSolo para guardería: tipo de ubicación (predio o domicilio).
pcp_service_type_idYesTipo de servicio. 1 = adiestramiento, 2 = paseos, 3 = guardería, 4 = internación.

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It discloses a key validation behavior ('El backend valida que la dirección pertenezca al usuario autenticado') and emphasizes the need for user confirmation, which implies a mutating action. However, it does not explain potential side effects like charges, reversibility, or error responses, which keeps it from a perfect score. Although there is a minor inconsistency (mentions 'frecuencia' which is not in the schema), it does not contradict annotations.

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?

The description is moderately concise and front-loaded with the core purpose. It contains four sentences with useful guidance, but could be slightly more compact by merging related instructions. Overall, it earns its length without excessive verbosity.

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?

Given the tool's complexity (6 parameters, nested objects) and lack of output schema, the description provides substantial context: it explains when to use related tools, the confirmation flow, and a backend validation. It does not describe return values, but that is acceptable without an output schema. Minor gaps like not explaining service-type-specific session requirements are covered by the schema descriptions.

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 coverage is 100%, so the baseline is 3. The description adds value by clarifying that address_id must belong to the user (via validation), and it directs the agent to getServiceCatalog for price info, indirectly informing parameter selection. This goes beyond the schema, justifying a 4.

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 clearly states the tool's purpose: 'Crea una orden de servicio' with specific service types (paseo, adiestramiento, guardería, internación). It distinguishes itself from sibling tools like createLead and getMyOrders by specifying that it creates an order for the authenticated user. The verb+resource combination is specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description provides explicit usage guidelines: it instructs to present a summary and get explicit confirmation before invoking, and names alternative tools (getServiceCatalog, getMyPets, getMyOrders) for related information. It also states when not to invoke ('Si el usuario no confirma de forma inequívoca, no invocar esta tool'). This is strong when-to-use vs. alternative guidance.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct resource or action: coverage checks, lead capture, order creation, breed catalog, chats, orders, pets, service catalog, shifts, and messaging. No two tools could be confused for the same purpose.

Naming Consistency5/5

All tool names follow a consistent camelCase verb_noun pattern (checkCoverage, createLead, createOrder, getBreeds, getChatMessages, etc.). The pattern is predictable and uniform across the entire set.

Tool Count5/5

12 tools is well-scoped for a pet service booking assistant. Each tool covers a clear need without being excessive or sparse.

Completeness4/5

Core workflows are covered: coverage, ordering, pets, chat, and service catalog. Minor gaps exist like no update/cancel order or add/edit pet, but agents can work around these as the primary booking flow is complete.

Resources