Skip to main content
Glama

eokg_smell_profile

eokg_smell_profile
Read-onlyIdempotent

Profile a smell source, fragrant space, or gesture across the knowledge graph. Count linked smells by period, language, dataset, qualities, emotions, and spaces.

Instructions

Profile a smell source, fragrant space or gesture across the whole graph. Counts smells linked to an olfactory-objects, fragrant-spaces or olfactory-gestures concept (from eokg_find_concepts) by 20-year period of document date (bucket_years changes it), language, dataset, qualities, emotions and fragrant spaces; emission dates, raw place labels and carriers (vocabulary concepts mixed with raw words) on request. The languages facet counts text smells only; image smells are in the total and the timeline but have no language. The emission date is extracted from the text but in almost every record equals the document date, so emission_timeline rarely differs from timeline. All values are machine-extracted: dates include OCR noise (reported as out_of_range), and emotions are inferred by a classifier that was not run on medical-heritage, royal-society-corpus, old-bailey-corpus or text-annotation and has no German or Slovenian model. Gesture smells come from texts (Perfuming, mostly French) or from images (Holding one's nose); check the datasets facet. year_from and year_to restrict the profile to a period by document date; undated sources drop out, and images can be a large share of a period's smells. include_narrower adds sub-concepts (e.g. all flowers) but takes 15–30 s per facet. Facets that time out or do not fit the time budget are listed in failed_facets, also without include_narrower; request each once more on its own, and if it fails again, make the query smaller as the warning says.

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": {
      "concept": "<concept>"
    },
    "name": "eokg_smell_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoValues per ranked facet.
facetsNoWhich aggregates to compute. Default: timeline, languages, datasets, qualities, emotions, fragrant_spaces (with include_narrower: timeline, languages, datasets). Opt-in: smell_sources (other smell sources extracted from the same smell events; a default for gestures), emission_timeline, places, carriers.
conceptYesAn olfactory-objects, fragrant-spaces or olfactory-gestures concept id as eokg_find_concepts returns it (e.g. olfactory-objects/138 for Rose, olfactory-gestures/2 for holding one's nose).
year_toNoOnly smells whose source is dated in this range (document date, inclusive; a range such as 1616/1678 counts by its first year). Undated sources are excluded.
languageNoOnly count smells from sources in this language. Not combinable with include_narrower.
year_fromNoOnly smells whose source is dated in this range (document date, inclusive; a range such as 1616/1678 counts by its first year). Undated sources are excluded.
bucket_yearsNoTimeline bucket width: 10, 20 or 50 years.
include_narrowerNoAlso count smells of narrower concepts (e.g. Flower for every flower). Slow: allows at most 3 facets.

Output Schema

NameRequiredDescriptionDefault
placesNo
conceptYes
year_toNo
carriersNo
datasetsNo
emotionsNo
languageNo
timelineNo
warningsNo
languagesNo
qualitiesNo
year_fromNo
total_smellsYes
failed_facetsNo
smell_sourcesNo
fragrant_spacesNo
include_narrowerYes
emission_timelineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context the annotations cannot carry: the extraction pipeline is machine-run, dates contain OCR noise reported as out_of_range, the emotion classifier was not run on four named datasets and has no German or Slovenian model, the languages facet excludes image smells while the total includes them, and emission dates nearly always equal document dates. The failed_facets retry protocol and time-budget behavior are also disclosed.

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?

Front-loaded with purpose and efficient given how much caveat information it must convey; nearly every sentence carries operational value. The middle section is dense and runs several caveats together in long clauses, which costs some scannability, but there is little padding to cut.

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?

For an 8-parameter aggregation tool with an output schema, the description covers the remaining risk areas: the concept id source, facet defaults and opt-ins, coverage gaps between facets, performance costs, and the failure/retry path. Nothing an agent needs to call this correctly appears to be 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 adds real meaning: bucket_years explains the 20-year default bucketing, year_from/year_to are clarified as document-date filters that drop undated sources and can skew periods toward images, and include_narrower's cost is spelled out. This goes meaningfully beyond the schema's own parameter descriptions.

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?

Names a specific verb and resource ('Profile a smell source, fragrant space or gesture across the whole graph') and immediately specifies what the profile is: smell counts broken down by period, language, dataset, qualities, emotions and fragrant spaces. It also points to eokg_find_concepts as the source of the required concept id, which cleanly separates it from the lookup siblings.

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 operating guidance: which facets are default vs opt-in, that smell_sources is a default for gestures, that include_narrower costs 15–30 s per facet, that language is not combinable with include_narrower, and how to retry facets that land in failed_facets. It stops short of explicitly contrasting when to use this over eokg_get_smell or eokg_search_smells for a single smell, but the conditional guidance within the tool is strong.

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