Skip to main content
Glama

Foshan Factory Directory

Get one factory

get_factory
Read-onlyIdempotent

Everything we publish about one factory, by its code: what it mainly makes, area, products, our photos and, where our team has written it up, our visit notes with who it suits and what to confirm before an order.

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": {
      "code": "<code>"
    },
    "name": "get_factory"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesDirectory code from search_factories, for example FU-21.
languageNoLanguage of the texts: English or Simplified Chinese.en

Output Schema

NameRequiredDescriptionDefault
areaNo
codeYes
titleYes
visitNo
photosNo
sourceNo
updatedNo
categoryYes
page_urlYes
productsNo
area_nameYes
image_urlNo
descriptionYes
inquiry_urlYes
photo_countNo
profile_urlNo
category_nameNo
visit_notes_urlNo
photographed_on_siteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare this to be a safe, idempotent read operation. The description adds useful behavioral context by noting that visit notes are only included where the team has written them up and that those notes cover suitability and order caveats.

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 definition is a single front-loaded sentence that immediately states the core purpose and then lists the available content. It is dense but efficient, with no filler or duplicated annotation content.

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 two-parameter lookup with an output schema and clear annotations, the description supplies enough context about what is returned and the conditional nature of visit notes. Minor gaps remain around routing relative to sibling tools, but nothing essential for calling it correctly is missing.

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%, so both parameters are already well documented. The description reinforces the required code-based lookup but does not add meaning beyond the schema, and it does not mention the language parameter.

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 a specific retrieval action: get everything published about one factory by its code. It enumerates the returned content categories, making the resource concrete, but it does not explicitly contrast itself with search_factories.

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

Usage Guidelines3/5

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

Usage is implied by 'by its code', which suggests the tool is for looking up a factory once its code is known. However, the description does not explicitly say when to use this instead of search_factories or list_directory, and there are no exclusions or prerequisite notes in the prose.

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