Skip to main content
Glama

Trustbase Lab · Trusted Data Infrastructure for the AI Era

Get Grade Detail

get_grade
Read-onlyIdempotent

Purpose: fetch one carbon black grade in full - the six ASTM parameters as min/max ranges with their test-method standards, application list, process route, brand owner for conductive grades, and for rCB types a gap analysis against the virgin N550 anchor on iodine / DBP / BET / ash / heating loss / sieve residue. Guidelines: use the semantic id (rcb-grade-n550 / rcb-grade-xc72 / rcb-grade-rcb-general) or the grade name ('N550', 'Super P','rCB-General'); pair with query_grades to discover ids and get_grade_spec for specification detail. ⭐ Scope: this returns the FULL business record (application, process route, brand owner, rCB-vs-N550 gap analysis). For a bare ASTM parameter table only, use get_grade_spec instead. Limits: one grade per call; ranges are compiled from public specifications and are not a supplier's guaranteed certificate of analysis; the gap analysis is relative to N550 only, not to every virgin grade. Ex: get_grade(id='rcb-grade-n550'), get_grade(name='Super P'), get_grade(name='rCB-General', response_format='json').

Input Schema

NameRequiredDescriptionDefault
idNo语义化实体 ID,如 rcb-grade-n550 / rcb-grade-xc72 / rcb-grade-rcb-general
nameNo牌号名(与 id 二选一),如 'N550'、'N660'、'N330'、'Super P'、'rCB-General'
languageNo输出语言zh
response_formatNo输出格式:markdown=人类阅读, json=Agent 处理友好markdown

Output Schema

NameRequiredDescriptionDefault
textYesHuman-readable result (markdown, or a JSON string when response_format=json).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "text": {
      +      "description": "Human-readable result (markdown, or a JSON string when response_format=json).",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "text"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"语义化实体 ID,如 rcb-grade-n550 / rcb-grade-rcb-general / rcb-grade-rcb-refined"New value: +"语义化实体 ID,如 rcb-grade-n550 / rcb-grade-xc72 / rcb-grade-rcb-general"
    • changedInput schema / properties / name / description
      Previous value: -"牌号名(与 id 二选一),如 'N550'、'N660'、'N330'、'rCB-General'"New value: +"牌号名(与 id 二选一),如 'N550'、'N660'、'N330'、'Super P'、'rCB-General'"
  3. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed world), and the description adds real value beyond them: the data is compiled from public specifications and is not a supplier's guaranteed certificate of analysis, the gap analysis is anchored to N550 only, and only one grade is returned per call. It stops short of describing failure behavior when an id or name matches nothing.

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 Purpose / Guidelines / Scope / Limits / Ex structure is front-loaded and skimmable, with an explicit example block that removes ambiguity. It is on the verbose side for a single-lookup tool, but nearly every clause carries distinct information (record contents, lookup keys, sibling routing, data provenance).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value detail is not needed, and the description covers the remaining agent-critical questions: what fields the full record holds, which keys to use, which sibling to pick instead, and what the data's limits are. Nothing needed to call it correctly is missing.

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, but the description goes further by clarifying that id and name are alternatives (schema does not state '二选一' semantics as prominently), giving example values for each, and showing an actual call shape combining name with response_format. Marginals add meaning beyond the schema text.

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?

Specific verb+resource ('fetch one carbon black grade in full') with an explicit inventory of what the record contains (ASTM parameters, application list, process route, brand owner, rCB gap analysis). It directly distinguishes itself from the closest sibling by stating that get_grade_spec returns only the bare ASTM parameter table.

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?

Names both lookup keys (semantic id or grade name) with concrete examples, routes the agent to query_grades for discovery and get_grade_spec for spec-only needs, and states the explicit exclusion: 'For a bare ASTM parameter table only, use get_grade_spec instead.' A Limits block adds scope caveats, so there is essentially no inference left.

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