Skip to main content
Glama

sj_get_service_prices

Read-onlyIdempotent

Use a service slug to retrieve the public market-median price table for that home service, with amounts in toman.

Instructions

Read a public market-median price table. Use the slug from sj_search_services. All amounts are in toman.

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": {
      "service_slug": "<service_slug>"
    },
    "name": "sj_get_service_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
service_slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered structurally. The description adds that the data is public and that all amounts are denominated in toman, which is genuinely useful context for interpreting results. It says nothing about behavior for invalid slugs, empty price tables, or freshness of the median, leaving the remaining behavioral burden unaddressed.

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 zero waste: what it is, where the argument comes from, and the unit of the returned amounts. The most important facts are front-loaded.

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?

This is a simple single-parameter read tool with full annotation coverage, and the description covers the data nature, argument source, and currency unit. It stops short of describing the shape of the returned table (fields, per-service granularity), which would help since no output schema exists.

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 description coverage is 0% and the single parameter has only a title and length bounds, so the description must carry the meaning. It does so by identifying the slug's provenance (sj_search_services), which is the one piece of semantics an agent cannot get from the schema. It does not describe slug format or error behavior for bad slugs.

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: reads a public market-median price table. The word 'median' and 'price table' distinguishes it in kind from the sibling sj_get_price_history, though the description never names that sibling to make the contrast explicit.

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 an explicit prerequisite chain: the slug must come from sj_search_services, which tells the agent exactly how to obtain the required argument. It does not say when to prefer this over sj_get_price_history or what to do if the slug is unknown, so no exclusions are covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.