Skip to main content
Glama

Peru Data MCP by Vira

Vira pricing in USD

vira_pricing
Read-only

Prices of Vira products in US dollars, converted from the published price in soles at today's official SUNAT rate. product_id is an id from vira_list_products (e.g. "facturin", "vendesolo"); empty returns all. Products without a list price are quoted by scope after a free diagnosis.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vira_pricing"
  }
}

Input Schema

NameRequiredDescriptionDefault
product_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true; the description adds real value beyond them by disclosing that figures come from a live SUNAT exchange rate (so values shift day to day) and that some products return no price at all but a scope-based quote instead. That fallback behavior is exactly the kind of caveat an agent needs to interpret results correctly.

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

Conciseness5/5

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

Three short sentences with no filler, front-loading the currency/conversion fact before the parameter guidance and the no-price edge case. Every sentence contributes distinct information.

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?

With a single optional parameter, no output schema, and read-only annotations, the definition covers what is needed: data source, currency basis, id provenance, default behavior, and the missing-price case. It could go slightly further on units or how the rate is applied, but nothing essential is missing for a correct call.

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

Parameters5/5

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

Schema coverage is 0%, so the description carries the full burden and does: product_id is an id from vira_list_products, with literal examples ("facturin", "vendesolo"), and the empty default is documented as returning all products. This fully compensates for the untyped, undescribed schema property.

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?

States a specific resource (Vira product prices) and a precise transformation: USD values converted from published soles prices at today's SUNAT rate. It explicitly ties itself to the sibling vira_list_products as the id source, so an agent can separate pricing lookup from product listing without opening a schema.

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

Usage Guidelines4/5

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

Gives concrete usage context: pass a product_id sourced from vira_list_products, or leave it empty to retrieve all. It also explains the outcome when a product lacks a list price (quoted by scope after a free diagnosis), which tells the agent not to expect a number in that case. It stops short of explicit when-not/exclusion guidance versus other siblings, but the routing context is clear.

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