Skip to main content
Glama

Situação da proposta ou do pedido

get_order_proposal
Read-onlyIdempotent

Uma proposta (ex.: "P-1234") ou o pedido em que ela virou (número), com a situação, o link e o prazo. Para propostas abertas, os valores são os de agora: veja "diferencas" e conte à cliente o que mudou. Para as que viraram pedido, a situação, o total e o rastreio estão no bloco "pedido".

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": {
      "id": "<id>"
    },
    "name": "get_order_proposal"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesReferência da proposta (P-1234) ou número do pedido.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare the operation as read-only, idempotent, and non-destructive. The description adds valuable behavioral context beyond that: it explains that open proposals show current values and a 'diferencas' block, while converted orders expose status, total, and tracking in a 'pedido' block, and it even instructs the agent to tell the client what changed.

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 compact and front-loads the primary purpose before detailing conditional response content. It is appropriately sized for one required parameter, though the output-block references are somewhat dense and could be more clearly structured.

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?

For a simple read-only lookup with one documented parameter and annotations covering safety, the description is nearly complete: it explains both proposal and order response shapes. Minor omissions include error behavior for invalid ids and the exact contents of the 'diferencas' field.

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% and the single 'id' parameter is fully documented in the schema as either a proposal reference like 'P-1234' or an order number. The description repeats this but adds no additional syntax, format, or validation meaning beyond what the schema already provides.

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 clearly states that the tool retrieves a single proposal or the order it became, returning status, link, deadline, and other fields. It distinguishes the open-proposal and converted-order cases, though it does not explicitly contrast itself with siblings like list_order_proposals.

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?

The description explains what information is returned for open proposals versus converted orders, but gives no explicit guidance on when to call this tool instead of alternatives such as list_order_proposals or get_cart, nor any prerequisites for obtaining the id.

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