Skip to content

MCP Tools Reference

The Fusemomo MCP Server exposes 5 tools that your agent can call directly. All tools communicate with https://api.fusemomo.com using your API key.

1. resolve_entity         → get canonical entity_id
2. get_recommendation     → find the best action (Builder+)
3. [Agent performs action]
4. log_interaction        → record the outcome
5. update_recommendation_outcome → close the feedback loop

resolve_entity

Always call this first. Maps any known identifiers to a canonical entity, creating it if none exists. Returns the entity_id needed by all other tools.

Parameters

NameRequiredDescription
identifiersObject: { "source_key": "identifier_value" }
display_nameHuman-readable label for this entity
entity_typeCategory (e.g. user, ticket, account)
metadataAny additional JSON data

Example

"Resolve the entity for client_id=ibergx9H50 and email=[EMAIL_ADDR]"
→ { "entity_id": "ent_abc123", "behavioral_score": 0.72, "total_interactions": 14, ... }

get_recommendation

Returns the highest-success action for an entity, based on historical outcome data. Call this before deciding what your agent should do.

Requires Builder plan.

Parameters

NameRequiredDescription
entity_idCanonical entity UUID
intentGoal scope (e.g. code_review, support_escalation)
lookback_daysHistory window, default 90

Example

"What is the best action for entity ent_abc123 with intent 'code_review'?"
→ { "data_sufficient": true, "confidence_score": 0.87, "primary": { "api": "github", "action_type": "assign_reviewer", ... } }

log_interaction

Records a behavioral event in the graph. Call this after any action your agent takes through an external API.

Parameters

NameRequiredDescription
entity_idCanonical entity UUID
agent_idYour agent's identifier
apiExternal service used
action_typeNormalized action category
actionSpecific description of the action
outcomesuccess | failed | pending | ignored | unknown
intentGoal of the action
metadataAdditional JSON

Example

"Log that agent_review_bot assigned PR #42 to octocat via github, outcome: success"
→ { "interaction_id": "int_xyz", "logged_at": "..." }

update_recommendation_outcome

Closes the ML feedback loop after a recommendation was acted on (or ignored). Must be called with the recommendation_id returned by get_recommendation.

Parameters

NameRequiredDescription
recommendation_idUUID from get_recommendation
was_followedDid the agent act on the primary recommendation?
outcome_interaction_idLink to the logged interaction for this action

Example

"Mark recommendation rec_456 as followed, linked to interaction int_789"
→ { "recommendation_id": "rec_456", "was_followed": true, "updated_at": "..." }

get_entity

Fetches the complete profile of a resolved entity — all linked identifiers, interaction history summary, and behavioral score.

Parameters

NameRequiredDescription
entity_idCanonical entity UUID

Example

"Get full profile for entity ent_abc123"
→ { "id": "ent_abc123", "behavioral_score": 0.72, "identifiers": [...], ... }

Released under the MIT License.